fix: 去掉默认值

pull/9139/head
吴小白 2022-12-01 16:22:26 +08:00
parent 2bc47c87d1
commit ce3ec85147
1 changed files with 1 additions and 1 deletions

2
jms
View File

@ -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()