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 #42, #48: Allow for arg > 0, add arg sorting, and warning message… #63

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

landure
Copy link
Contributor

@landure landure commented Oct 29, 2022

… when format is invalid.
Fix #42 and #48.

  • Modify how @arg is handled to allow for $10 and up values, in the hope to add support for short and long options in the future.
  • Auto-sort arg by number in output, ending with $@.
  • Add a colored warning on stderr when @arg line format is invalid (bonus).
  • Add a test case for numeric @arg.
  • Ignore @noargs lines with text.

Hope this changes fits your expectations.

… and warning message when format is invalid.
@kovetskiy kovetskiy merged commit be091b9 into reconquest:master Nov 7, 2022
landure added a commit to landure/shdoc that referenced this pull request Aug 17, 2023
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.

2 participants