mirror of
https://github.com/samba-team/samba.git
synced 2025-10-29 04:23:51 +03:00
r8316: give full access to the popt command line parsing in ejs scripts, including
access to the samba common options. For example: ok = GetOptions(ARGV, options, "POPT_AUTOHELP", "POPT_COMMON_SAMBA", "myopt=s", "intopt=i", "noopt"); this allows scripts to support their own extended options properly
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
fc93ade9cd
commit
775fb56ac2
@@ -122,6 +122,7 @@ void smb_setup_ejs_functions(void)
|
||||
smb_setup_ejs_cli();
|
||||
smb_setup_ejs_rpc();
|
||||
smb_setup_ejs_auth();
|
||||
smb_setup_ejs_options();
|
||||
|
||||
ejsDefineCFunction(-1, "typeof", ejs_typeof, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
ejsDefineStringCFunction(-1, "libinclude", ejs_libinclude, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
|
||||
Reference in New Issue
Block a user