Difference between revisions of "Command-line arguments"

From MiniScript Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
|-
 
|-
 
| <c>-screen-fullscreen</c> || 0 or 1 || start in full-screen mode || <c>-screen-fullscreen 1</c>
 
| <c>-screen-fullscreen</c> || 0 or 1 || start in full-screen mode || <c>-screen-fullscreen 1</c>
 +
|-
 
| <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 || 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 || mount given file or directory as /usr2 || <c>-usr2 /Users/bob/game.minidisk</c>
 
|}
 
|}

Revision as of 18:53, 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 mount given file or directory as /usr -usr /Users/alice/myFiles
-usr2 file mount given file or directory as /usr2 -usr2 /Users/bob/game.minidisk