mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 00:00:07 +01:00
cmd: fix unable to find correct custom config
This commit is contained in:
@@ -43,7 +43,7 @@ to make automatic initialization process more smoothly`,
|
||||
stringFlag("password", "", "User password"),
|
||||
stringFlag("email", "", "User email address"),
|
||||
boolFlag("admin", "User is an admin"),
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All inactivate accounts have been deleted successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All repositories archives have been deleted successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All repositories archives have been deleted successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All repositories have done garbage collection successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All public keys have been rewritten successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All repositories' pre-receive, update and post-receive hooks have been resynced successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ to make automatic initialization process more smoothly`,
|
||||
"All repository records that lost Git files have been reinitialized successfully",
|
||||
),
|
||||
Flags: []cli.Flag{
|
||||
stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
||||
stringFlag("config, c", "", "Custom configuration file path"),
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user