mirror of https://github.com/jumpserver/jumpserver
fix: 去掉默认值
parent
2bc47c87d1
commit
ce3ec85147
2
jms
2
jms
|
@ -177,7 +177,7 @@ if __name__ == '__main__':
|
|||
help="The service to start",
|
||||
)
|
||||
parser.add_argument('-d', '--daemon', nargs="?", const=True)
|
||||
parser.add_argument('-w', '--worker', type=int, nargs="?", default=4)
|
||||
parser.add_argument('-w', '--worker', type=int, nargs="?")
|
||||
parser.add_argument('-f', '--force', nargs="?", const=True)
|
||||
|
||||
args = parser.parse_args()
|
||||
|
|
Loading…
Reference in New Issue