I have several utilites, that communicate with remote server. Server name is passed via -R/--remote option, this option is recognized by all these commands. Next, some of arguments are dynamic data (like directories, users et cetera) that can be fetched from remote server by one of these utilites. I want to make separate function that returns this "dynamic data", but it needs to know correct "remote server". How do I get -R option value, that can appear in command line as "-R foo", "--remote foo" or "--remote=foo"? I am not using _arguments (can't use $opt_args). -- Regards, Sir Raorn.
Attachment:
signature.asc
Description: Digital signature