changed copy --no-deps shorthand to -n

This commit is contained in:
Zakary Timson 2022-04-03 11:21:47 -04:00
parent 886900de5d
commit a95b1d844d

View File

@ -17,7 +17,7 @@ export async function main(ns) {
const argParser = new ArgParser('copy.js', 'Copy a file/script to a device along with any dependencies.', null, [ const argParser = new ArgParser('copy.js', 'Copy a file/script to a device along with any dependencies.', null, [
{name: 'file', desc: 'File to copy', type: 'string'}, {name: 'file', desc: 'File to copy', type: 'string'},
{name: 'device', desc: 'Device to copy file(s) to', type: 'string'}, {name: 'device', desc: 'Device to copy file(s) to', type: 'string'},
{name: 'noDeps', desc: 'Skip copying dependencies', flags: ['-d', '--no-deps'], type: 'bool'}, {name: 'noDeps', desc: 'Skip copying dependencies', flags: ['-n', '--no-deps'], type: 'bool'},
{name: 'silent', desc: 'Suppress program output', flags: ['-s', '--silent'], type: 'bool'} {name: 'silent', desc: 'Suppress program output', flags: ['-s', '--silent'], type: 'bool'}
], true); ], true);