From 34dcef166e47d268e98973f609da470c59ed5f07 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 3 Mar 2021 23:18:52 +0530 Subject: Change subroutine declaration style From: sub t () {} To: sub t() {} --- lib/Octans/CLI.rakumod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Octans/CLI.rakumod') 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 // "/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; } -- cgit 1.4.1-2-gfad0 '/danisanti/profani-tty/about/'>about summary refs log tree commit diff stats
blob: 80624f20f88ba28b6e3a98e37806ff9ec0a434b2 (plain) (blame)
1
2
3
4