Files
wmic/Samba/testprogs/ejs/argv.js
T
2019-02-16 00:16:52 +01:00

15 lines
224 B
JavaScript

/*
demonstrate use of GetOptions
*/
var options = GetOptions(ARGV,
"POPT_AUTOHELP",
"POPT_COMMON_SAMBA",
"myopt=s",
"intopt=i",
"noopt");
println("You called this script with arguments:");
printVars(options);