diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-06-06 14:46:25 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-06-06 14:46:25 -0400 |
commit | 5662aeaf38a1fe9d31313d2a7b40ddd6c1a91785 (patch) | |
tree | ae63d7f0991944a607da3b116d7be32b90d5b026 | |
parent | a2c8c10de3e13efa996d3b294bdfe15c52379c7f (diff) | |
download | opendircolors-5662aeaf38a1fe9d31313d2a7b40ddd6c1a91785.tar.gz opendircolors-5662aeaf38a1fe9d31313d2a7b40ddd6c1a91785.tar.zst opendircolors-5662aeaf38a1fe9d31313d2a7b40ddd6c1a91785.zip |
Disable clang-format the correct way
-rw-r--r-- | opendircolors.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/opendircolors.c b/opendircolors.c index 9be81f6..634726f 100644 --- a/opendircolors.c +++ b/opendircolors.c @@ -41,14 +41,16 @@ static void usage(const char *); -static const struct option long_options[] = { /* no clang-format */ - { "help", no_argument, NULL, 'h' }, /**/ - { "bourne-shell", no_argument, NULL, 'b' }, /**/ - { "sh", no_argument, NULL, 'b' }, /**/ - { "csh", no_argument, NULL, 'c' }, /**/ - { "c-shell", no_argument, NULL, 'c' }, /**/ +// clang-format off +static const struct option long_options[] = { + { "help", no_argument, NULL, 'h' }, + { "bourne-shell", no_argument, NULL }, + { "sh", no_argument, NULL, 'b' }, + { "csh", no_argument, NULL, 'c' }, + { "c-shell", no_argument, NULL, 'c' }, { NULL, no_argument, NULL, 0 } }; +// clang-format on static const char *long_types[38] = { "NORMAL", "NORM", "FILE", "RESET", "DIR", "LNK", "LINK", "SYMLINK", "ORPHAN", "MISSING", "FIFO", "PIPE", "SOCK", |