aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-01-16 18:47:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-01-16 18:47:33 +1300
commit3927568ecb614e58fd869e4defcf3dcc8ab7938e (patch)
tree135769e3ef9800ee583c5ff7055bc5634ff4c718
parentUse consistent layout for function braces (diff)
downloadcrypt-3927568ecb614e58fd869e4defcf3dcc8ab7938e.tar.gz
crypt-3927568ecb614e58fd869e4defcf3dcc8ab7938e.zip
Adjust indentation of switch block
-rw-r--r--crypt.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/crypt.c b/crypt.c
index 4f085b1..e704cfa 100644
--- a/crypt.c
+++ b/crypt.c
@@ -7,14 +7,14 @@ int main (int argc, char **argv)
while ((opt = getopt(argc, argv, "h")) != -1) {
switch (opt) {
- case 'h': /* Help */
- usage(stdout, EXIT_SUCCESS);
- break;
- case '?': /* Unknown option */
- usage(stderr, EXIT_FAILURE);
- break;
- default: /* Shouldn't happen */
- abort();
+ case 'h': /* Help */
+ usage(stdout, EXIT_SUCCESS);
+ break;
+ case '?': /* Unknown option */
+ usage(stderr, EXIT_FAILURE);
+ break;
+ default: /* Shouldn't happen */
+ abort();
}
}