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

Fix -a option wrong concatenation of arguments. #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Aire-One
Copy link

The -a option handling in the code does not match what the documentation says.
From the --help output :

-a|--aopt Pass option to awesome binary (e.g. --no-argb or --check). Can be repeated.

But using multiple -a does not provide the expected result. If you run awmtt start -a --version -a --check the awesome binary will receive --version--check instead of --version --check (note the extra space).

Another solution, and probably the easiest, is to use quotes to wrap your arguments list. awmtt start -a '--version --check' ¯\(ツ)

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

Successfully merging this pull request may close these issues.

1 participant