Skip to content

Commit

Permalink
[one-cmds] Update help message usage (#13416)
Browse files Browse the repository at this point in the history
This commit updates help message usage.

ONE-DCO-1.0-Signed-off-by: seongwoo <[email protected]>
  • Loading branch information
mhs4670go authored Jul 14, 2024
1 parent 05965cd commit b4c1a77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/one-cmds/one-codegen
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sys.tracebacklimit = 0


def _get_parser(backends_list):
codegen_usage = 'one-codegen [-h] [-v] [-C CONFIG] [-b BACKEND] [-T TARGET] [--] [COMMANDS FOR BACKEND]'
codegen_usage = 'one-codegen [-h] [-v] [-C CONFIG] [-b BACKEND | -T TARGET] [--] [COMMANDS FOR BACKEND]'
parser = argparse.ArgumentParser(
description='command line tool for code generation', usage=codegen_usage)

Expand Down
2 changes: 1 addition & 1 deletion compiler/one-cmds/one-profile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _get_backends_list():


def _get_parser(backends_list):
profile_usage = 'one-profile [-h] [-v] [-C CONFIG] [-b BACKEND] [-T TARGET] [--] [COMMANDS FOR BACKEND]'
profile_usage = 'one-profile [-h] [-v] [-C CONFIG] [-b BACKEND | -T TARGET] [--] [COMMANDS FOR BACKEND]'
parser = argparse.ArgumentParser(
description='command line tool for profiling backend model', usage=profile_usage)

Expand Down
2 changes: 1 addition & 1 deletion compiler/one-cmds/onecc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run_subtools():


def get_parser():
onecc_usage = 'onecc [-h] [-v] [-C CONFIG] [-b BACKEND] [-W WORKFLOW] [-O OPTIMIZATION] [-T TARGET] [COMMAND <args>]'
onecc_usage = 'onecc [-h] [-v] [-C CONFIG | -W WORKFLOW] [-b BACKEND | -T TARGET] [-O OPTIMIZATION] [COMMAND <args>]'
onecc_desc = 'Run ONE driver via several commands or configuration file'
parser = ArgumentParser(description=onecc_desc, usage=onecc_usage)

Expand Down

0 comments on commit b4c1a77

Please sign in to comment.