mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
pwd short_options to be const
This commit is contained in:
parent
13b2ff336d
commit
75e83cac29
|
@ -13,7 +13,7 @@
|
||||||
#include "wutil.h" // IWYU pragma: keep
|
#include "wutil.h" // IWYU pragma: keep
|
||||||
|
|
||||||
/// The pwd builtin. Respect -P to resolve symbolic links. Respect -L to not do that (the default).
|
/// The pwd builtin. Respect -P to resolve symbolic links. Respect -L to not do that (the default).
|
||||||
static const wchar_t *short_options = L"LPh";
|
static const wchar_t * const short_options = L"LPh";
|
||||||
static const struct woption long_options[] = {{L"help", no_argument, NULL, 'h'},
|
static const struct woption long_options[] = {{L"help", no_argument, NULL, 'h'},
|
||||||
{NULL, 0, NULL, 0}};
|
{NULL, 0, NULL, 0}};
|
||||||
int builtin_pwd(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
int builtin_pwd(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user