Commits

Taku Miyakawa committed 351e223

Renames ARGV to Argv (closing issue #456)

Comments (0)

Files changed (4)

src/build/deleteassertion.kn

 }
 
 # kink deleteassertion.kn src dest
-[:Srcroot :Destroot] = ARGV
+[:Srcroot :Destroot] = Argv
 handle(path(Srcroot) path(Destroot))

src/doc/language/lexical.rst

 ::
 
     # All expressions in one line
-    :Num = ARGV.first.int  :Result = Num * 3  printline(Result)
+    :Num = Argv.first.int  :Result = Num * 3  printline(Result)
 
     # Separate expressions by line feed characters
-    :Num = ARGV.first.int
+    :Num = Argv.first.int
     :Result = Num * 3
     printline(Result)
 

src/main/kink/internal/Start.kn

     )
 }
 
-# Run Program with ARGV
+# Run Program with Argv
 :_run = { (:Program :Argv)
     :Env = module('CORE').child(
-        'ARGV' Argv
+        'Argv' Argv
         'show' { > :Env
             '<env:#of=' + Program.name.show + ':hash=' + Env.hash + '>'
         }

src/test/kink/internal/StartTest.kn

 
 # 'run' passes arguments
 test {
-    :Program = 'ARGV * 2'.program('starttest')
+    :Program = 'Argv * 2'.program('starttest')
     Start._run(Program ['twift' 'voxxx']).check(['twift' 'voxxx' 'twift' 'voxxx'])
 }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.