Difference between revisions of "Command-line arguments"

From MiniScript Wiki
Jump to navigation Jump to search
m
Line 9: Line 9:
 
| <c>-scale</c> || floating-point value || set screen scale to this factor || <c>-scale 2</c>
 
| <c>-scale</c> || floating-point value || set screen scale to this factor || <c>-scale 2</c>
 
|-
 
|-
| <c>-usr</c> || file || mount given file or directory as /usr || <c>-usr /Users/alice/myFiles</c>
+
| <c>-usr</c> || file path || mount given file or directory as /usr || <c>-usr /Users/alice/myFiles</c>
 
|-
 
|-
| <c>-usr2</c> || file || mount given file or directory as /usr2 || <c>-usr2 /Users/bob/game.minidisk</c>
+
| <c>-usr2</c> || file path || mount given file or directory as /usr2 || <c>-usr2 /Users/bob/game.minidisk</c>
 
|}
 
|}
  
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Revision as of 18:55, 20 February 2022

Mini Micro can be launched from the command line with certain command-line arguments to alter its default behavior.

Argument Value Effect Example
-screen-fullscreen 0 or 1 start in full-screen mode -screen-fullscreen 1
-scale floating-point value set screen scale to this factor -scale 2
-usr file path mount given file or directory as /usr -usr /Users/alice/myFiles
-usr2 file path mount given file or directory as /usr2 -usr2 /Users/bob/game.minidisk