r18161: Fix LDB build after popt changes.
[Samba/ekacnet.git] / testprogs / ejs / argv.js
blobffb6e007eb6b88ba191522b14cdf9447e39b878e
1 /*
2         demonstrate use of GetOptions
3 */
5 var options = GetOptions(ARGV, 
6                 "POPT_AUTOHELP",
7                 "POPT_COMMON_SAMBA",
8                 "myopt=s",
9                 "intopt=i",
10                 "noopt");
12 println("You called this script with arguments:");
14 printVars(options);