Remove useless argparse options
This commit is contained in:
@@ -558,7 +558,6 @@ if __name__ == "__main__":
|
|||||||
help="Interval in seconds after which inactive drives will be put to standby state.")
|
help="Interval in seconds after which inactive drives will be put to standby state.")
|
||||||
arg_parser.add_argument("-v",
|
arg_parser.add_argument("-v",
|
||||||
"--verbosity",
|
"--verbosity",
|
||||||
action="store",
|
|
||||||
choices=("warning", "normal", "debug"),
|
choices=("warning", "normal", "debug"),
|
||||||
default="normal",
|
default="normal",
|
||||||
dest="verbosity",
|
dest="verbosity",
|
||||||
@@ -570,12 +569,10 @@ if __name__ == "__main__":
|
|||||||
help="Daemonize process")
|
help="Daemonize process")
|
||||||
arg_parser.add_argument("-l",
|
arg_parser.add_argument("-l",
|
||||||
"--log-file",
|
"--log-file",
|
||||||
action="store",
|
|
||||||
default=None,
|
default=None,
|
||||||
dest="log_filepath",
|
dest="log_filepath",
|
||||||
help="Filepath for log output when using daemon mode")
|
help="Filepath for log output when using daemon mode")
|
||||||
arg_parser.add_argument("--pid-file",
|
arg_parser.add_argument("--pid-file",
|
||||||
action="store",
|
|
||||||
default=None,
|
default=None,
|
||||||
dest="pid_filepath",
|
dest="pid_filepath",
|
||||||
help="Filepath for lock file when using daemon mode")
|
help="Filepath for lock file when using daemon mode")
|
||||||
|
|||||||
Reference in New Issue
Block a user