From fef7a81478cb246a7d2fe29283a50d52501ccc33 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Aug 2005 23:31:18 +0000 Subject: r9491: fixed up a few scripts that need to be updated for the new GetOptions syntax. Mimir, its 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) --- testprogs/ejs/argv.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'testprogs/ejs/argv.js') diff --git a/testprogs/ejs/argv.js b/testprogs/ejs/argv.js index 093123014a..ffb6e007eb 100644 --- a/testprogs/ejs/argv.js +++ b/testprogs/ejs/argv.js @@ -2,16 +2,12 @@ demonstrate use of GetOptions */ -var ok; -var options = new Object(); - -ok = GetOptions(ARGV, options, +var options = GetOptions(ARGV, "POPT_AUTOHELP", "POPT_COMMON_SAMBA", "myopt=s", "intopt=i", "noopt"); -printVars(ok); println("You called this script with arguments:"); -- cgit