McAfee MEJCAE-AM-DA Product Guide - Page 17
E-Business Server command syntax, Entering long options on the command line
View all McAfee MEJCAE-AM-DA manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 17 highlights
Getting Started E-Business Server command syntax The following information appears: McAfee E-Business Server Version #.# (c) 1991-2001 McAfee, Inc. All Rights Reserved. Product Name: McAfee E-Business Server Product Mode: Full Version : #.# Full Version: #.#.# Build Stage : Release Build Number: # Debug Info : Not present E-Business Server command syntax In versions of E-Business Server prior to 7.1.0, E-Business Server command-line options were typically one or two letters (for example, -kg was used for key generation). This older format is now known as legacy mode. In current versions of E-Business Server, the command-line options are longer and more descriptive of the operation (for example, --key-gen is used for key generation). These newer options are known as long options. You cannot use the long options and the legacy options interchangeably. To specify the command-line format you want to use, set the CMDLINE-FORMAT parameter in the E-Business Server configuration file: cmdline-format = The default format is long. Entering long options on the command line If E-Business Server is set to work in the long format, the default format, then you use E-Business Server by typing ebs followed by arguments that start with two dashes (--): ebs -- For example, to create a new key pair, you would enter the following on the command line: ebs --key-gen Entering legacy options on the command line If E-Business Server is set to work in legacy mode, then you use E-Business Server by typing ebs followed by one dash (-) and then enter the options/parameters you need to perform the operation. ebs - For example, to create a new key pair, you would enter the following on the command line: ebs -kg The command parser converts the legacy options you enter on the command line to the current long options for the operation before passing them on for processing. E-Business Server displays the long-option equivalent of all legacy commands when INFO=Verbose in the E-Business Server configuration file (the same as VERBOSE=2 in legacy mode). For more information on setting the INFO parameter, see INFO on page 98. Single dash options are allowed in long mode if an alias (shortcut) exists that maps it to a long option. This allows you to set the legacy options that you've become accustomed to as aliases for the equivalent long options. Aliases are set in the E-Business Server configuration file using the ALIAS parameter. For example, you might set -kg as an alias for the key generation long option as shown below: ALIAS -kg --key-gen 15 E-Business Server™ 8.6 Product Guide