Skip to content
Snippets Groups Projects
Commit c6860f05 authored by Frede H's avatar Frede H :speech_balloon:
Browse files

deprecation warning for -g and -y

parent 1923d4f7
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,13 @@ class PacmanMirrors:
print(".: {} {}".format(txt.ERR_CLR, txt.MUST_BE_ROOT))
sys.exit(1)
if args.generate:
print(".: {} {} {} {}".format(color.YELLOW,
"Argument '-g/--generate' is deprecated.",
color.ENDCOLOR,
"Use '-f/--fasttrack'."
))
if args.method:
self.config["method"] = args.method
......@@ -196,6 +203,11 @@ class PacmanMirrors:
self.quiet = True
if args.sync:
print(".: {} {} {} {}".format(color.YELLOW,
"Argument '-y/--generate' is deprecated.",
color.ENDCOLOR,
"Use 'pacman -Syy.",
))
self.sync = True
if args.interactive:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment