mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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 1ead49f8e8
)
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);
|