fix #219: doc add -L
This commit is contained in:
parent
28bb12cc79
commit
d06c8da29b
@ -156,6 +156,6 @@ def command(conf, args):
|
|||||||
if doc_add == 'move':
|
if doc_add == 'move':
|
||||||
ui.message('{} was moved to the pubs repository.'.format(docfile))
|
ui.message('{} was moved to the pubs repository.'.format(docfile))
|
||||||
elif doc_add == 'copy':
|
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()
|
rp.close()
|
||||||
|
@ -34,7 +34,7 @@ def parser(subparsers, conf):
|
|||||||
).completer = CiteKeyCompletion(conf)
|
).completer = CiteKeyCompletion(conf)
|
||||||
add_exclusives = add_parser.add_mutually_exclusive_group()
|
add_exclusives = add_parser.add_mutually_exclusive_group()
|
||||||
add_exclusives.add_argument(
|
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')
|
help='do not copy document files, just create a link')
|
||||||
add_exclusives.add_argument(
|
add_exclusives.add_argument(
|
||||||
'-M', '--move', action='store_true', dest='move', default=False,
|
'-M', '--move', action='store_true', dest='move', default=False,
|
||||||
|
@ -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 <regular git commands>`.
|
You can then also conveniently interact with the git repository by using `pubs git <regular git commands>`.
|
||||||
|
|
||||||
|
|
||||||
## Multiple pubs Repository
|
## Multiple pubs Repositories
|
||||||
|
|
||||||
You may want to have different pubs repositories, for different projects. To create an alternate repository:
|
You may want to have different pubs repositories, for different projects. To create an alternate repository:
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user