You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
634 B
Python
12 lines
634 B
Python
5 years ago
|
import lib.uis.config_ui
|
||
|
|
||
|
argparser = lib.uis.config_ui.argparser
|
||
|
|
||
5 years ago
|
# store_true just stores true when the command is supplied, so it doesn't need choices nor types
|
||
|
argparser.add_argument('-u', '--unapproved', default=False, action="store_true",
|
||
|
help='only unapproved users. Default is only approved.', required=False)
|
||
|
argparser.add_argument('-a', '--approved', default=False, action="store_true",
|
||
|
help="Only approved Users.", required=False)
|
||
|
argparser.add_argument('-f', '--file', default="stdout",
|
||
|
type=str, help='write to file instead of stdout', required=False)
|