From 9363f6eb6ee25305b770d51c48ef07eb1c8e7a92 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Sat, 16 Oct 2021 19:57:52 +0200 Subject: [PATCH] Re-ordered menu items --- bin/auto-cpufreq | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/auto-cpufreq b/bin/auto-cpufreq index 60989c2..e0efe43 100755 --- a/bin/auto-cpufreq +++ b/bin/auto-cpufreq @@ -15,16 +15,16 @@ from auto_cpufreq.core import * # cli @click.command() -@click.option("--config", is_flag=False, default="/etc/auto-cpufreq.conf", help="Use config file at defined path") -@click.option("--daemon", is_flag=True, hidden=True) -@click.option("--debug", is_flag=True, help="Show debug info (include when submitting bugs)") -@click.option("--install/--remove", default=True, help="Install/remove daemon for (permanent) automatic CPU optimizations") -@click.option("--live", is_flag=True, help="Monitor and make (temp.) suggested CPU optimizations") -@click.option("--log", is_flag=True, help="Deprecated flag replaced by --stats") @click.option("--monitor", is_flag=True, help="Monitor and see suggestions for CPU optimizations") +@click.option("--live", is_flag=True, help="Monitor and make (temp.) suggested CPU optimizations") +@click.option("--install/--remove", default=True, help="Install/remove daemon for (permanent) automatic CPU optimizations") @click.option("--stats", is_flag=True, help="View live stats of CPU optimizations made by daemon") +@click.option("--config", is_flag=False, default="/etc/auto-cpufreq.conf", help="Use config file at defined path") +@click.option("--debug", is_flag=True, help="Show debug info (include when submitting bugs)") @click.option("--version", is_flag=True, help="Show currently installed version") @click.option("--donate", is_flag=True, help="Support the project") +@click.option("--log", is_flag=True, hidden=True) +@click.option("--daemon", is_flag=True, hidden=True) def main(config, daemon, debug, install, live, log, monitor, stats, version, donate): # display info if config file is used