mirror of
https://github.com/restic/restic.git
synced 2026-10-07 11:07:11 +00:00
Create root command via function
This commit is contained in:
1 parent
aa9cdf93cf
commit
412d6d9ec5
43 files changed
+163
-215
No files matched your search
@@ -73,10 +73,6 @@ Exit status is 12 if the password is incorrect.
|
||||
return cmd
|
||||
}
|
||||
|
||||
func init() {
|
||||
cmdRoot.AddCommand(newStatsCommand())
|
||||
}
|
||||
|
||||
// StatsOptions collects all options for the stats command.
|
||||
type StatsOptions struct {
|
||||
// the mode of counting to perform (see consts for available modes)
|
||||
|
||||
Reference in new issue
Block a user