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

arguments with spaces in the localised executables #14

Open
padawin opened this issue Apr 23, 2014 · 0 comments
Open

arguments with spaces in the localised executables #14

padawin opened this issue Apr 23, 2014 · 0 comments
Labels

Comments

@padawin
Copy link
Member

padawin commented Apr 23, 2014

When running the game with one of the localised executables, the arguments with spaces are considered as separated arguments:

> ./rRpg-english -w database/rpg.db -l foo -p foo drop 3 "Heavy breastplate"
Namespace(action=['drop', '3', 'Heavy', 'breastplate'], debug=False, json=False, login='foo', password='foo', world='database/rpg.db')
I have none of those

Must be:

> LC_MESSAGES=en_GB ./rRpg -w database/rpg.db -l foo -p foo drop 3 "Heavy breastplate"
Namespace(action=['drop', '3', 'Heavy breastplate'], debug=False, json=False, login='foo', password='foo', world='database/rpg.db')
You drop 3 Heavy breastplate

This comes from the sh files containing:

#!/bin/sh
LC_MESSAGES=en_GB ./rRpg $@
@padawin padawin added the bug label Apr 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant