Skip to content

Commit

Permalink
Show help if only color arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Karasu committed May 31, 2024
1 parent 960444f commit 66a3232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_cpufreq/bin/auto_cpufreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@click.option('--donate', is_flag=True, help='Support the project')
def main(monitor, live, daemon, install, update, remove, force, config, color, stats, get_state, completions, debug, version, donate):
prints.COLOR = color
if len(argv) == 1:
if len(argv) == 1+int(color):
help_command()
return

Expand Down

0 comments on commit 66a3232

Please sign in to comment.