2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-29 07:00:49 +00:00
restic/cmd/restic
Jason Cox 2447f3f110 Update usage strings to put flags before args
The standard UNIX-style ordering of command-line arguments places
optional flags before other positional arguments. All of restic's
commands support this ordering, but some of the usage strings showed the
flags after the positional arguments (which restic also parses just
fine). This change updates the doc strings to reflect the standard
ordering.

Because the `restic help` command comes directly from Cobra, there does
not appear to be a way to update the argument ordering in its usage
string, so it maintains the non-standard ordering (positional arguments
before optional flags).
2020-08-28 02:16:22 +00:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
acl_test.go Restore whole folder to sdtout as tar 2019-04-22 20:44:33 +02:00
acl.go Dead code removal 2020-08-04 08:38:57 +02:00
cleanup.go Replace fmt.Printf/Println/Fprintf with wrapper functions 2020-06-14 11:08:11 +02:00
cmd_backup.go Don't print a stacktrace if some files could not be read 2020-07-28 23:52:48 +02:00
cmd_cache.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_cat.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
cmd_check.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00
cmd_debug.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
cmd_diff.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_dump.go Fix error handling in dump (err != err) 2020-08-03 09:43:44 +02:00
cmd_find.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
cmd_forget.go Delete files in parallel in forget 2020-08-01 20:43:18 +02:00
cmd_generate.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_init.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_key.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_list.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_ls.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_migrate.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_mount.go cmd/mount: honour --no-lock flag 2020-08-03 19:45:39 +02:00
cmd_options.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_prune.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00
cmd_rebuild_index.go prune/rebuild-index: Fail if an old index cannot be removed 2020-08-16 11:34:01 +02:00
cmd_recover.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
cmd_restore.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_self_update.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_snapshots.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_stats.go FindUsedBlobs: merge seen into blobs BlobSet 2020-08-01 12:29:16 +02:00
cmd_tag.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
delete.go Delete files in parallel 2020-08-01 20:39:24 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
exclude.go Fix typos 2020-05-16 14:05:26 +08:00
find.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Dead code removal 2020-08-04 08:38:57 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Ensure Print{,f,ln} use global stdout 2020-02-15 01:32:43 +01:00
global.go Add support for integration tests to wrap the backend 2020-08-16 11:34:01 +02:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Revert "Darwin test fix: allow 1μs timestamp difference" 2020-05-01 17:11:30 +02:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go prune: Include ID of all missing blobs in error message 2020-08-16 11:36:14 +02:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go Replace fmt.Printf/Println/Fprintf with wrapper functions 2020-06-14 11:08:11 +02:00
main.go Don't print a stacktrace if some files could not be read 2020-07-28 23:52:48 +02:00
progress.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00