Skip to content

Commit

Permalink
fix(configure-home-basedir): no args invocation error
Browse files Browse the repository at this point in the history
If the command is invoked without arguments, an error occurs where the usage
message should be printed.
  • Loading branch information
DavidePrincipi committed Jan 22, 2025
1 parent f600ce5 commit af2095c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def main():
store_configuration(home_basedir)
print(f"The base path for home directories has been set to {args.set_dir}.")
else:
args.print_usage()
parser.print_usage()
sys.exit(1)

def store_configuration(path):
Expand Down

0 comments on commit af2095c

Please sign in to comment.