From d06c8da29b11a660697f72affb9dbc4de6565462 Mon Sep 17 00:00:00 2001 From: "Fabien C. Y. Benureau" Date: Wed, 8 Apr 2020 09:23:57 +0900 Subject: [PATCH] fix #219: doc add -L --- pubs/commands/add_cmd.py | 2 +- pubs/commands/doc_cmd.py | 2 +- readme.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pubs/commands/add_cmd.py b/pubs/commands/add_cmd.py index 1aa2ec7..a2af9cd 100644 --- a/pubs/commands/add_cmd.py +++ b/pubs/commands/add_cmd.py @@ -156,6 +156,6 @@ def command(conf, args): if doc_add == 'move': ui.message('{} was moved to the pubs repository.'.format(docfile)) elif doc_add == 'copy': - ui.message('{} was copied to the pubs repository.'.format(docfile)) + ui.message('{} was copied to the pubs repository.'.format(docfile)) rp.close() diff --git a/pubs/commands/doc_cmd.py b/pubs/commands/doc_cmd.py index 277c006..d1a44df 100644 --- a/pubs/commands/doc_cmd.py +++ b/pubs/commands/doc_cmd.py @@ -34,7 +34,7 @@ def parser(subparsers, conf): ).completer = CiteKeyCompletion(conf) add_exclusives = add_parser.add_mutually_exclusive_group() add_exclusives.add_argument( - '-L', '--link', action='store_false', dest='link', default=False, + '-L', '--link', action='store_true', dest='link', default=False, help='do not copy document files, just create a link') add_exclusives.add_argument( '-M', '--move', action='store_true', dest='move', default=False, diff --git a/readme.md b/readme.md index d596f18..33fdadd 100644 --- a/readme.md +++ b/readme.md @@ -111,7 +111,7 @@ Pubs comes with a git plugin that automatically commits your changes. You only n You can then also conveniently interact with the git repository by using `pubs git `. -## Multiple pubs Repository +## Multiple pubs Repositories You may want to have different pubs repositories, for different projects. To create an alternate repository: ```