This bug has driven lots of coders completely mad. You won't believe how it ended up being fixed
This commit is contained in:
@@ -57,7 +57,7 @@ action_choices = ["delete","start","stop","reboot","deleteall","startall","stopa
|
|||||||
|
|
||||||
# If no arguements were given let the user know this is not how to use this program
|
# If no arguements were given let the user know this is not how to use this program
|
||||||
if not len(sys.argv) > 1:
|
if not len(sys.argv) > 1:
|
||||||
print("No arguments passed. Use -h or --help for help")
|
console.print("No arguments passed. Use [u]-h[/u] or [u]--help[/u] for help", style="bold red")
|
||||||
exit(0)
|
exit(0)
|
||||||
# Define the command line arguments
|
# Define the command line arguments
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|||||||
Reference in New Issue
Block a user