Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable controller common options without "" when using trema run #271

Closed
y-higuchi opened this issue Feb 27, 2013 · 1 comment
Closed

Enable controller common options without "" when using trema run #271

y-higuchi opened this issue Feb 27, 2013 · 1 comment
Assignees
Milestone

Comments

@y-higuchi
Copy link
Contributor

Current trema run requires trema controller common options like --name , --logging_level, etc. to be enclosed in quotes with the controller name in order for them to take effect.

$ trema run "./controller --name=NewName" -d

It will be easier to use, if trema run command passed those options to the controller, when common options were given to trema run and enable trema run invocation like:

$ trema run ./controller --name=NewName -d 

Note that simply appending common options found to the end of controllers option arguments may cause problem,
when there are controller specifc options.

$ trema run "./controller -a -b -c -- other arguments" --name=NewName -d

In the above case, --name=NewName probably should be inserted after -c

@ghost ghost assigned yasuhito Feb 28, 2013
@yasuhito
Copy link
Member

In the next coming release, controller specific options can be passed after --. Read https://github.com/trema/routing_switch/ example for details.

@yasuhito yasuhito added this to the 0.5.0 milestone Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants