summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2024-01-04 10:39:20 +0200
committerMantas Mikulėnas <grawity@gmail.com>2024-01-04 10:39:28 +0200
commit1393daa4415d6db209fa0d69fab9232030bbb9e7 (patch)
tree8006669fa30a670cd4bb3e35ee6d411c3e0cf864
parent82141a716a80a3206dfa1bb17f8b4335aa10620c (diff)
fix broken --separator option
-rwxr-xr-xtreeify4
1 files changed, 2 insertions, 2 deletions
diff --git a/treeify b/treeify
index d69e97e..74388c1 100755
--- a/treeify
+++ b/treeify
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# treeify - display a list of files as a tree
+# treeify -- display a list of files as a tree
# (c) 2013-2016 Mantas Mikulėnas <grawity@gmail.com>
# Released under the MIT License (dist/LICENSE.mit)
use v5.10;
@@ -222,7 +222,7 @@ GetOptions(
"g|no-ghosts" => \$opt{no_ghosts},
"r|fake-root=s" => \$opt{fake_root},
"R|reverse" => \$opt{reverse},
- "s|separator=s" => \$opt{sep},
+ "s|separator=s" => \$opt{separator},
"y|style=s" => \$opt{style},
# Handle oldstyle digit options such as '-10'
map {