aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-05 20:16:00 +0000
committerjozan <jozan@noemail.net>2020-11-05 20:16:00 +0000
commit3c7eee6494a7452272ac1008f0d77c4230763549 (patch)
tree5225e0e56da6995c5f5ce96e2b94cb6aceb1cf63 /src/c_opts.c
parentNow getting directory files (diff)
downloadunixize-3c7eee6494a7452272ac1008f0d77c4230763549.tar.gz
unixize-3c7eee6494a7452272ac1008f0d77c4230763549.tar.bz2
unixize-3c7eee6494a7452272ac1008f0d77c4230763549.tar.xz
unixize-3c7eee6494a7452272ac1008f0d77c4230763549.tar.zst
unixize-3c7eee6494a7452272ac1008f0d77c4230763549.zip
Reading in progress
FossilOrigin-Name: c8e2947b1c632acc386ad416322affb951f4542b866a4b252b4cc5b0f41ee831
Diffstat (limited to 'src/c_opts.c')
-rw-r--r--src/c_opts.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index 3884250..6b163c7 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -45,10 +45,10 @@
* This is where we handle command line options.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <stdio.h>
#include "c_opts.h"
#include "c_unixize.h"
@@ -56,9 +56,11 @@
static void
c_dump_usage(void)
{
- dprintf(STDERR_FILENO,
- C_USAGE_FMT,
- C_OPTS);
+ dprintf(
+ STDERR_FILENO,
+ C_USAGE_FMT,
+ C_OPTS
+ );
}
static void
@@ -80,9 +82,10 @@ c_ask_confirm(const char dir[])
}
void
-c_get_opts(struct opts_s* opts,
- int argc,
- const char* argv[])
+c_get_opts
+(struct opts_s* opts,
+ int argc,
+ const char* argv[])
{
int opt;
bool_t confirm;