mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Removed global '--force' option -- just too vague a concept to be applicable
to all commands in the same way. Several Command methods now either expect 'self.force' to be defined, or check if it is defined and assume it's false if not.
This commit is contained in:
parent
582a8701cb
commit
68a0757e23
2 changed files with 14 additions and 13 deletions
|
|
@ -52,8 +52,6 @@ class Distribution:
|
|||
"run quietly (turns verbosity off)"),
|
||||
('dry-run', 'n',
|
||||
"don't actually do anything"),
|
||||
('force', 'f',
|
||||
"skip dependency checking between files"),
|
||||
('help', 'h',
|
||||
"show this help message"),
|
||||
]
|
||||
|
|
@ -76,7 +74,6 @@ class Distribution:
|
|||
# Default values for our command-line options
|
||||
self.verbose = 1
|
||||
self.dry_run = 0
|
||||
self.force = 0
|
||||
self.help = 0
|
||||
self.help_commands = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue