Commit 284c7b22a8

Nicolas Sterchele <nicolas@sterchelen.net>
2023-04-06 22:57:25
process: add args definition comment
To improve understandability of its purpose.
1 parent ce3fe72
Changed files (1)
lib
lib/std/process.zig
@@ -818,7 +818,8 @@ pub const ArgIterator = struct {
     }
 };
 
-/// Use argsWithAllocator() for cross-platform code
+/// Holds the command-line arguments, with the program name as the first entry.
+/// Use argsWithAllocator() for cross-platform code.
 pub fn args() ArgIterator {
     return ArgIterator.init();
 }