Skip to content

Commit ff09a55

Browse files
committed
Update program name for CLI usage
1 parent ccec198 commit ff09a55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The CLI provides the same functionality as the [Dashjoin JSONata CLI](https://gi
4040

4141
```
4242
% jsonata -h
43-
usage: jsonata.cli [-h] [-v] [-e <file>] [-i <arg>] [-ic <arg>] [-f {auto,json,string}] [-o <arg>] [-oc <arg>] [-time] [-c] [-b <json-string>]
43+
usage: jsonata [-h] [-v] [-e <file>] [-i <arg>] [-ic <arg>] [-f {auto,json,string}] [-o <arg>] [-oc <arg>] [-time] [-c] [-b <json-string>]
4444
[-bf <file>] [-it]
4545
[expr]
4646

src/jsonata/cli/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
def get_options(argv: Optional[list[str]] = None) -> argparse.ArgumentParser:
3333
"""Parses command-line arguments.
3434
"""
35-
parser = argparse.ArgumentParser(prog="jsonata.cli", description="Pure Python JSONata CLI")
35+
parser = argparse.ArgumentParser(prog="jsonata", description="Pure Python JSONata CLI")
3636
parser.add_argument(
3737
"-v", "--version", action='version', version='%(prog)s 0.6.0')
3838

0 commit comments

Comments
 (0)