aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_hardflip.go
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-08-28 10:39:42 +0200
committerjoe <rbo@gmx.us>2025-08-28 10:39:42 +0200
commit8a58c7c57fef3f2a33faef07ecfebc85ed442877 (patch)
treee92a87f0daa1b837ef2894320ccd338849309346 /src/c_hardflip.go
parentfuck it work so well (diff)
downloadhardflip-8a58c7c57fef3f2a33faef07ecfebc85ed442877.tar.gz
hardflip-8a58c7c57fef3f2a33faef07ecfebc85ed442877.tar.bz2
hardflip-8a58c7c57fef3f2a33faef07ecfebc85ed442877.tar.xz
hardflip-8a58c7c57fef3f2a33faef07ecfebc85ed442877.tar.zst
hardflip-8a58c7c57fef3f2a33faef07ecfebc85ed442877.zip
n option good
Diffstat (limited to 'src/c_hardflip.go')
-rw-r--r--src/c_hardflip.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/c_hardflip.go b/src/c_hardflip.go
index 6c67305..d808792 100644
--- a/src/c_hardflip.go
+++ b/src/c_hardflip.go
@@ -71,9 +71,11 @@ type HardData struct {
}
func main() {
+ var n_opt, _ bool
+
if len(os.Args) > 1 {
- c_cli_opts(os.Args[1])
+ n_opt, _ = c_cli_opts()
}
data_dir := c_get_data_dir(nil)
- i_ui(data_dir)
+ i_ui(data_dir, n_opt)
}