summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-09 15:14:21 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-09 15:14:21 +0900
commit33f9141410975347eb57ee63aabb028f7944487c (patch)
tree3abfa56bd5bdf2575c8ba4d0b9d6c9910da77dd9
parent264472ea809bdf1373fd1673365ae42a4acb7023 (diff)
downloadfead-33f9141410975347eb57ee63aabb028f7944487c.tar.gz
Disable argument abbreviation
-rwxr-xr-xsrc/fead.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fead.py b/src/fead.py
index ab23bd0..21f559d 100755
--- a/src/fead.py
+++ b/src/fead.py
@@ -16,7 +16,7 @@
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 __doc__ = 'Advert generator from web feeds'
-__version__ = '0.1.0'
+__version__ = '0.1.1'
 
 from argparse import ArgumentParser, FileType, HelpFormatter
 from asyncio import gather, open_connection, run
@@ -205,7 +205,8 @@ def main():
     parser = ArgumentParser(prog='fead', usage='%(prog)s [OPTION]...',
                             description='Generate adverts from web feeds.',
                             epilog='Any use of -f before -F is ignored.',
-                            formatter_class=GNUHelpFormatter)
+                            formatter_class=GNUHelpFormatter,
+                            allow_abbrev=False)
     parser.add_argument('-v', '--version', action='version',
                         version=f'%(prog)s {__version__}')
     parser.add_argument('-F', '--feeds', metavar='PATH',