[ https://issues.apache.org/jira/browse/FELIX-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921021#action_12921021 ]
Derek Baum commented on FELIX-2661: ----------------------------------- > It is not clear that "-i" is a good alias for "--nointeractive"... aliases are a single letter, so -n would be ambiguous with --noshutdown. Often CAPS are used for single letter inverse options (-I), but in this case I don't think that there's any need for an alias. Aliases are generally used to save interactive typing. The full long option name is preferred in scripts as it is self-documenting, rather than wondering what the -i or -ni option does. Long options can be abbreviated to their shortest unambiguous form, e.g. --noi and --nos. So shall we just remove the -i alias for --nointeractive? > [Gogo] It should be easier to start Gogo shell non-interactively > ---------------------------------------------------------------- > > Key: FELIX-2661 > URL: https://issues.apache.org/jira/browse/FELIX-2661 > Project: Felix > Issue Type: Improvement > Components: Gogo Shell > Affects Versions: gogo-0.6.1 > Reporter: Richard S. Hall > Assignee: Derek Baum > Fix For: gogo-0.8.0 > > > To start the Gogo shell non-interactively, you have to specify a dummy > command and tell it not to shutdown in its configuration...something like > this: > gosh.args=--noshutdown -c noop=true > This is not necessarily the most straightforward approach and it also results > in the gosh_profile being executed and the MOTD being displayed, which > doesn't really make sense in the non-interactive use case. > It seems like it would be better to have an explicit flag to tell the Gogo > shell to start up non-interactively (e.g., --noninteractive), which would > also imply not shutting down, but wouldn't require a dummy command, nor > execute the gosh_profile. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.