mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
getopt long_options to be const
This commit is contained in:
parent
b257e79a07
commit
172f1e1b5f
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ static int read_init(const struct config_paths_t &paths)
|
|||
*/
|
||||
static int fish_parse_opt(int argc, char **argv, std::vector<std::string> *cmds)
|
||||
{
|
||||
struct option long_options[] =
|
||||
const struct option long_options[] =
|
||||
{
|
||||
{ "command", required_argument, NULL, 'c' },
|
||||
{ "debug-level", required_argument, NULL, 'd' },
|
||||
|
|
Loading…
Reference in a new issue