aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_hardflip.go
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-08-28 10:51:06 +0200
committerjoe <rbo@gmx.us>2025-08-28 10:51:06 +0200
commit1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2 (patch)
tree868d43d09f4b07d18e7da756bb6466b72654f8b7 /src/c_hardflip.go
parentn option good (diff)
downloadhardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.gz
hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.bz2
hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.xz
hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.zst
hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.zip
quick fix
Diffstat (limited to 'src/c_hardflip.go')
-rw-r--r--src/c_hardflip.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/c_hardflip.go b/src/c_hardflip.go
index d808792..b09a150 100644
--- a/src/c_hardflip.go
+++ b/src/c_hardflip.go
@@ -68,14 +68,16 @@ type HardData struct {
keys [][2]string
insert *HostNode
yank *ItemsNode
+ n_arg bool
+ s_arg bool
}
func main() {
- var n_opt, _ bool
+ var n_arg, s_arg bool
if len(os.Args) > 1 {
- n_opt, _ = c_cli_opts()
+ n_arg, s_arg = c_cli_opts()
}
data_dir := c_get_data_dir(nil)
- i_ui(data_dir, n_opt)
+ i_ui(data_dir, n_arg, s_arg)
}