1
0
Fork 0
mirror of synced 2024-11-29 18:55:34 -05:00
zimfw/modules/archive/functions
Eric Nielsen 2e3ba7996b
[archive] Allow archives in any directory
Current code will create an archive in the current directory with:

    % archive ../test.tar.gz test.*

or will complain that the following archive doesn't exist in the current
directory (given it actually exists in the parent one):

    % unarchive ../test.tar.gz

Fix that and allow archives in any directory.

Other changes:

* Use `<required_param>` instead of `[required_param]` in the usage text
* Don't explictly check if archive exists in `unarchive`, but let the
  respective tool fail with its own message

Closes #312
2018-11-24 22:45:08 -05:00
..
_unarchive [archive] Add unarchive completion 2018-02-08 10:59:43 -05:00
archive [archive] Allow archives in any directory 2018-11-24 22:45:08 -05:00
unarchive [archive] Allow archives in any directory 2018-11-24 22:45:08 -05:00