这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@EmilyGraceSeville7cf
Copy link
Contributor

@EmilyGraceSeville7cf EmilyGraceSeville7cf commented Sep 29, 2024

Changes

  • Use double quotes for show_usage function: termux-battery-status.in
  • Colorize show_usage text: termux-battery-status.in
  • Provide valid options when unknown is passed: termux-battery-status.in
  • Specify script type for ShellCheck to get rid of its complaints: all scripts

Questions

  • I wonder if it's desirable to color help messages or not.
  • Maybe it's a good idea to use gum instead of raw escape sequences for colors, isn't it? But in this case it's required (from my understanding) to preinstall gum too.

…us.in

- use double quotes for the help message
- suggest possible options when unknown is encountered
@EmilyGraceSeville7cf EmilyGraceSeville7cf changed the title Enhance help and option handling for: scripts/termux-battery-status Enhance help and option handling for: termux-battery-status Sep 29, 2024
@EmilyGraceSeville7cf EmilyGraceSeville7cf changed the title Enhance help and option handling for: termux-battery-status Enhance help and option handling Sep 29, 2024
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