flag identifier nokeyword

Mode: Operational Mode

Description:

When multiple instances of an object can be configured and the value of the argument is used to identify the different argument, flag identifier nokeyword is used to specify individual argument values.

This flag has to be configured with flag twoset setof list on the parent argument. When the user specifies a value for the argument, the argument is being sent to the daemon or the process, other instances can be filtered. When the argument is not supplied by the user, all instances are queried.

Example:

            command newbie {
                help "Show newbie";
                EXAMPLED_ACTION;

                argument information {
                    help "Example newbie information";
                    flag twoset setof list;

                    argument fullname {
                        help "Newbie full name";
                        flag identifier nokeyword;
                        type string;
                    }
                }
            }

Display:

        user@router> show example newbie ?
        Possible completions:
          <[Enter]>            Execute this command
          <fullname>           Newbie full name
          |                    Pipe through a command
        user@router>

See also:

Reference (to programmers guide/style guide):


2007-2008 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are trademarks of Juniper Networks, Inc.
Generated on Sun May 30 20:23:13 2010 for DDL Reference Guide by doxygen 1.4.5