update help toc correctly show program name
This commit is contained in:
@@ -312,7 +312,7 @@ def select_pool(pools, wording = "edit"):
|
||||
if __name__ == '__main__':
|
||||
# Build and parse arguments
|
||||
parser = argparse.ArgumentParser(
|
||||
usage="%prog [options]",
|
||||
usage="{} [options]".format(os.path.basename(__file__)),
|
||||
description="Run Truenas pool unlock operation. This will unlock encrypted pools on truenas.")
|
||||
parser.add_argument(
|
||||
"-c",
|
||||
|
||||
Reference in New Issue
Block a user