From 84192b0604d9224ae403b52b67597b5eedef572a Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sun, 14 Nov 2021 20:39:01 -0300 Subject: [PATCH] Fix program name --- README.md | 2 +- setup.cfg | 2 +- src/fsub/fsub.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 387a55d..72262e4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ pip install fsub # Usage ``` -usage: fsub.py [-h] [-c] [-s MS] [-n] [-f FILE] file [file ...] +usage: fsub [-h] [-c] [-s MS] [-n] [-f FILE] file [file ...] Fix, edit and clean SubRip (.srt) files. diff --git a/setup.cfg b/setup.cfg index b9c0d3c..9e5550f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = fsub -version = 0.1.0 +version = 0.1.1 author = Augusto Lenz Gunsch author_email = augustogunsch@tutanota.com description = CLI SubRip editor diff --git a/src/fsub/fsub.py b/src/fsub/fsub.py index 8ada7c2..445eec7 100755 --- a/src/fsub/fsub.py +++ b/src/fsub/fsub.py @@ -211,6 +211,7 @@ def read_expressions(args): def main(): parser = argparse.ArgumentParser( + prog='fsub', description='Fix, edit and clean SubRip (.srt) files.', add_help=True )