@@ -5,19 +5,19 @@ export function showhelp() {
55 "usage: webdav-cli [options]" ,
66 "" ,
77 "options:" ,
8- " --path Path to folder [process.cwd()]" ,
9- " --host Host to use [0.0.0.0]" ,
10- " --port Port to use [1900]" ,
11- " --digest Enable digest authentication [basic]" ,
12- " --username Username for basic/digest authentication [random]" ,
13- " --password Password for basic/digest authentication [random]" ,
14- " --disableAuthentication The server file becomes read-only without Authentication.[false]" ,
15- " --ssl Enable https [false]" ,
8+ " --path,-pa Path to folder [process.cwd()]" ,
9+ " --host,-ho Host to use [0.0.0.0]" ,
10+ " --port,-po Port to use [1900]" ,
11+ " --digest,-dg Enable digest authentication [basic]" ,
12+ " --username,-u Username for basic/digest authentication [random]" ,
13+ " --password,-ps Password for basic/digest authentication [random]" ,
14+ " --disableAuthentication,-da The server file becomes read-only without Authentication.[false]" ,
15+ " --ssl,-s Enable https [false]" ,
1616 " --sslKey Path to ssl key file [self-signed]" ,
1717 " --sslCert Path to ssl cert file [self-signed]" ,
18- " --help Print this list and exit" ,
19- " --version Print the version and exit." ,
20- " --rights Comma separated values without spaces [all]" ,
18+ " --help,-h Print this list and exit" ,
19+ // " --version,-v Print the version and exit.",
20+ " --rights,-r Comma separated values without spaces [all]" ,
2121 `
2222 'all', 'canCreate', 'canDelete', 'canMove', 'canRename',
2323 'canAppend', 'canWrite', 'canRead', 'canSource',
0 commit comments