From 153767624a69880ec122a3ae141f245e7f5c14c4 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Feb 01 2021 08:56:44 +0000 Subject: Update description of the clean command JIRA: RHELCMP-3683 Resolves: rhbz#1909461 Signed-off-by: Ondrej Nosek --- diff --git a/pyrpkg/cli.py b/pyrpkg/cli.py index e6ba0c6..5d05ba1 100644 --- a/pyrpkg/cli.py +++ b/pyrpkg/cli.py @@ -598,11 +598,13 @@ class cliClient(object): 'clean', help='Remove untracked files', description="This command can be used to clean up your working " "directory. By default it will follow .gitignore " - "rules.") + "rules. Patterns listed in .git/info/exclude won't" + "be removed either.") clean_parser.add_argument( '--dry-run', '-n', action='store_true', help='Perform a dry-run') clean_parser.add_argument( - '-x', action='store_true', help='Do not follow .gitignore rules') + '-x', action='store_true', + help='Do not follow .gitignore and .git/info/exclude rules') clean_parser.set_defaults(command=self.clean) def register_clog(self):