mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fef7a81478
a good idea to use grep -r to find places that need fixing when you change the syntax of a call :-) (This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)
15 lines
224 B
JavaScript
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);
|