Explorar el Código

param --root-dir default cwd

Fabian Peter Hammerle hace 6 años
padre
commit
2e6561007b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      pyftpd-sink

+ 2 - 1
pyftpd-sink

@@ -51,7 +51,8 @@ def _init_argparser():
         '--root', '--root-dir',
         metavar='path',
         dest='root_dir_path',
-        required=True,
+        default=os.getcwd(),
+        help='default: %(default)s',
     )
     argparser.add_argument(
         '--user', '--username',