Builds command line options for the cancel action.

@return Command line options for the cancel action.
761633
static Options getCancelOptions(Options options) {
		options.addOption(ID_OPTION);
		options = getJobManagerAddressOption(options);
		return options;
	}
526073
public List<String> getDefaultActionIds() {

        List<String> ids = new ArrayList<String>();
        Iterator<CmsListDefaultAction> itDefActions = m_defaultActions.iterator();
        while (itDefActions.hasNext()) {
            I_CmsListDirectAction action = itDefActions.next();
            ids.add(action.getId());
        }
        return Collections.unmodifiableList(ids);
    }
53231
public Set<String> getOptionsValues() {
        Set<String> result = new HashSet<>();
        for (OptionGroup group : optionGroups.values()) {
            result.addAll(group.getOptionValues());
        }

        return result;
    }
76313
public static String shiftCommandLineParameters() {
		String removed = null;
		if (commandLineParameters != null) {
			if (commandLineParameters.length == 0) {
				commandLineParameters = null;
			} else if (commandLineParameters.length == 1) {
				removed = commandLineParameters[0];
				commandLineParameters = null;
			} else {
				removed = commandLineParameters[0];
				final String[] newTab = new String[commandLineParameters.length - 1];
				System.arraycopy(commandLineParameters, 1, newTab, 0, commandLineParameters.length - 1);
				commandLineParameters = newTab;
			}
		}
		return removed;
	}
218573
public java.util.List<TerminateRequest> getTerminateWorkspaceRequests() {
        if (terminateWorkspaceRequests == null) {
            terminateWorkspaceRequests = new com.amazonaws.internal.SdkInternalList<TerminateRequest>();
        }
        return terminateWorkspaceRequests;
    }
242606
public static Options buildOptions() {
    Options options = new Options();

    // Build in/output file arguments, which are required, but there is no 
    // addOption method that can specify this
    OptionBuilder.isRequired();
    OptionBuilder.hasArgs();
    OptionBuilder.withLongOpt("outputFilename");
    options.addOption(OptionBuilder.create("o"));
    
    OptionBuilder.isRequired();
    OptionBuilder.hasArgs();
    OptionBuilder.withLongOpt("inputFilename");
    options.addOption(OptionBuilder.create("i"));
    
    options.addOption("p", "processor", true, "");
    options.addOption("v", "verbose", false, "");
    options.addOption("h", "help", false, "");

    return options;
  }
309965
public String[] getOptions() {
    Vector<String>	result;
    String[]		options;
    int			i;

    result = new Vector<String>();

    options = super.getOptions();
    for (i = 0; i < options.length; i++)
      result.add(options[i]);

    if (!getCustomDelimiter().isEmpty()) {
      result.add("-custom-delimiter");
      result.add("" + getCustomDelimiter());
    }

    result.add("-list");
    result.add("" + getList());

    return result.toArray(new String[result.size()]);	  
  }
680928
public static Map<String, String> readCommandLineOpts() {
    return org.apache.heron.api.utils.Utils.readCommandLineOpts();
  }
471377
public List<CmsPushButton> getButtons() {

        List<CmsPushButton> result = new ArrayList<CmsPushButton>();
        result.add(m_backButton);
        result.add(m_cancelButton);
        m_actionButtons.clear();
        if (m_actions != null) {
            for (final CmsWorkflowAction action : m_actions) {
                CmsPushButton actionButton = new CmsPushButton();
                actionButton.setText(action.getLabel());
                actionButton.setUseMinWidth(true);
                actionButton.addClickHandler(new ClickHandler() {

                    public void onClick(ClickEvent event) {

                        executeAction(action);
                    }
                });
                m_actionButtons.add(actionButton);
            }
        }
        result.addAll(m_actionButtons);
        return result;
    }
1345958
protected static List<String> createOptions() {

        List<String> options = new ArrayList<String>();
        options.add(optionMapping.get(CmsAliasMode.permanentRedirect));
        options.add(optionMapping.get(CmsAliasMode.redirect));
        options.add(optionMapping.get(CmsAliasMode.passthrough));
        return options;
    }
301573
public List<String> createCommandList(
                    final List<String> filterOptions
                    )
    {
        List<String>  list = new ArrayList<String>();
        list.add( getExecutable() );

        for (String  opt : filterOptions) {
            if (isOptionSet( opt )) {
                list.add( opt );
                final String  value = getOption( opt );
                if (value != NO_OPTION_VALUE) {
                    list.add( value );
                }
            }
        }

        return list;
    }
1333546
def remove_args(parser):
    '''  '''

    arguments = []
    for action in list(parser._get_optional_actions()):
        if '--help' not in action.option_strings:
            arguments += action.option_strings

    for arg in arguments:
        if arg in sys.argv:
            sys.argv.remove(arg)
646600
protected function invokeStandardOptions() {
        return $this
            ->addOption('c', 'config', self::OPTION_NOT_REQUIRED)
            ->addOption('h', 'help', self::NO_VALUE)
            ->addOption(null, 'no-colors', self::NO_VALUE)
            ->addOption('q', 'quiet', self::NO_VALUE)
            ->addOption('v', 'verbose', self::NO_VALUE)
            ->addOption(null, 'version', self::NO_VALUE)
            ->addOption('s', 'setting', self::OPTION_NOT_REQUIRED);
    }
475655
public CmdLineAction onOption(BiConsumer<@NonNull String, @NonNull String> action) {
		OptionCmdLineAction optionAction = new OptionCmdLineAction(action);

		this.optionActions.add(optionAction);
		return optionAction;
	}
832508
protected Commandline getCommandline() {
        Commandline cmdl = new Commandline();
        if (configFile != null) {
            cmdl.createArgument().setValue("--config");
            cmdl.createArgument().setFile(configFile);
        }
        if (debug) {
            cmdl.createArgument().setValue("--debug");
        }
        return cmdl;
    }
742957
public alluxio.grpc.DeletePOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.DeletePOptions.getDefaultInstance() : options_;
  }
27344
public java.util.List<String> getValueOptions() {
        if (valueOptions == null) {
            valueOptions = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return valueOptions;
    }