about summary refs log tree commit diff stats
path: root/lib/Octans/CLI.rakumod
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-03-03 23:18:52 +0530
committerAndinus <andinus@nand.sh>2021-03-03 23:18:52 +0530
commit34dcef166e47d268e98973f609da470c59ed5f07 (patch)
treedd15d46051b5c41e731bcb53a331ed807ab69956 /lib/Octans/CLI.rakumod
parent4c77f3376020ea13754b2f635ce07094cdc4a226 (diff)
downloadoctans-34dcef166e47d268e98973f609da470c59ed5f07.tar.gz
Change subroutine declaration style
From:
    sub t () {}

To:
    sub t() {}
Diffstat (limited to 'lib/Octans/CLI.rakumod')
-rw-r--r--lib/Octans/CLI.rakumod6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Octans/CLI.rakumod b/lib/Octans/CLI.rakumod
index 48477ef..0719dcd 100644
--- a/lib/Octans/CLI.rakumod
+++ b/lib/Octans/CLI.rakumod
@@ -2,9 +2,9 @@ use Octans::Puzzle;
 use Octans::WordSearch;
 use Octans::Puzzle::Get;
 
-proto MAIN (|) is export { unless so @*ARGS { say $*USAGE; exit }; {*} }
+proto MAIN(|) is export { unless so @*ARGS { say $*USAGE; exit }; {*} }
 
-multi sub MAIN (
+multi sub MAIN(
     Str $path, #= path to the crossword (file or url)
     Str :$dict = (%?RESOURCES<mwords/354984si.ngl> //
                   "/usr/share/dict/words").Str, #= dictionary file
@@ -68,6 +68,6 @@ multi sub MAIN (
 }
 
 
-multi sub MAIN (
+multi sub MAIN(
     Bool :$version #= print version
 ) { say "Octans v" ~ $?DISTRIBUTION.meta<version>; }