]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/surfer.js
Support last argument as destination
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / surfer.js
index 8920641896cafd986fb0e1880ee72e50154f091e..b311658ca275d7010ccc60a41a5e6946a1a3db1c 100755 (executable)
@@ -15,9 +15,8 @@ program.command('login <url>')
     .action(actions.login);
 
 program.command('put <file> [files...]')
-    .option('-d --destination <folder>', 'Destination folder. This is prepended to the relative <file> path')
     .option('-a --all', 'Also include hidden files and folders.', false)
-    .description('Put a file')
+    .description('Put a file, last argument is destination if provided')
     .action(actions.put);
 
 program.command('get [file]')