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

Termux-elf-cleaner errors if arguments are passed in certain order #28

Open
Grimler91 opened this issue Dec 15, 2023 · 0 comments
Open
Assignees
Labels

Comments

@Grimler91
Copy link
Member

Termux-elf-cleaner currently errors if order of passed argument is not the same as it parses them, https://github.com/termux/termux-elf-cleaner/actions/runs/7226804413 failed with: open("--quiet"): No such file or directory for example.

Order shouldn't matter so we have to change how we parse the args. argmatch function that we currently use was taken from emacs, and emacs solves this by sorting argv before parsing. We could go down that route, or change to some other arg parsing system.

@Grimler91 Grimler91 added the bug label Dec 15, 2023
@thunder-coding thunder-coding self-assigned this Apr 5, 2024
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

2 participants