diff --git a/bin/pwnagotchi b/bin/pwnagotchi index 24e547df..af82690c 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -137,7 +137,7 @@ if __name__ == '__main__': help="Interactive installation of your personal configuration.") parser.add_argument('--check-update', dest="check_update", action="store_true", default=False, help="Check for updates on Pwnagotchi. And tells current version.") - parser.add_argument('--donate', dest="donate", action="store_true", default=False, + parser.add_argument('--wizard', dest="wizard", action="store_true", default=False, help="How to donate to this project.") # pwnagotchi plugins --help @@ -159,8 +159,8 @@ if __name__ == '__main__': print(pwnagotchi.__version__) sys.exit(0) - if args.install: - pwn_restore = input("Do you want to restore the previous configuration? [y/n]") + if args.wizard: + pwn_restore = input("Do you want to restore the previous configuration? [y/n]\n") if pwn_restore in ('y', 'yes'): os.system("mv -f /etc/pwnagotchi/config.toml.bak /etc/pwnagotchi/config.toml") print("Your previous configuration is restored, and I will restart in 5 seconds.") diff --git a/builder/data/64bit/etc/bash_completion.d/pwnagotchi_completion.sh b/builder/data/64bit/etc/bash_completion.d/pwnagotchi_completion.sh index 8424a534..68edc4e9 100644 --- a/builder/data/64bit/etc/bash_completion.d/pwnagotchi_completion.sh +++ b/builder/data/64bit/etc/bash_completion.d/pwnagotchi_completion.sh @@ -2,7 +2,7 @@ _show_complete() { local cur opts node_names all_options opt_line all_options=" -pwnagotchi -h --help -C --config -U --user-config --manual --skip-session --clear --debug --version --print-config --check-update --donate {plugins,google} +pwnagotchi -h --help -C --config -U --user-config --manual --skip-session --clear --debug --version --print-config --wizard --check-update --donate {plugins,google} pwnagotchi plugins -h --help {list,install,enable,disable,uninstall,update,upgrade} pwnagotchi plugins list -i --installed -h --help pwnagotchi plugins install -h --help