File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -159,19 +159,21 @@ func moveStuckUploadBlobsCmd(cfg *config.Config) *cli.Command {
159159 Usage : "Dry run mode enabled" ,
160160 },
161161 & cli.StringFlag {
162- Name : "ocis-home" ,
163- Value : "~/.ocis" ,
164- Usage : "oCIS home directory" ,
162+ Name : "basepath" ,
163+ Aliases : []string {"p" },
164+ Usage : "the basepath of the decomposedfs (e.g. /var/tmp/ocis/storage/users)" ,
165+ Required : true ,
165166 },
166167 & cli.StringFlag {
167168 Name : "filename" ,
168169 Value : "received.json" ,
169170 Usage : "File to move from uploads/ to share manager metadata blobs/" ,
170171 },
171172 & cli.BoolFlag {
172- Name : "verbose" ,
173- Value : false ,
174- Usage : "Verbose logging enabled" ,
173+ Name : "verbose" ,
174+ Aliases : []string {"v" },
175+ Value : false ,
176+ Usage : "Verbose logging enabled" ,
175177 },
176178 },
177179 Before : func (c * cli.Context ) error {
@@ -199,8 +201,8 @@ func moveStuckUploadBlobsCmd(cfg *config.Config) *cli.Command {
199201 }
200202
201203 ocisHome := filepath .Join (home , ".ocis" )
202- if c .IsSet ("ocis-home " ) {
203- ocisHome = c .String ("ocis-home " )
204+ if c .IsSet ("basepath " ) {
205+ ocisHome = c .String ("basepath " )
204206 }
205207
206208 rootMetadata := filepath .Join (ocisHome , "storage" , "metadata" )
You can’t perform that action at this time.
0 commit comments