You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prints a brief one-liner on `stderr` when Skyscraper ran into an error and exits with a non-zero return value. This is mainly useful when you call Skyscraper from another program. If you combine it with a redirect of `stdout` to `/dev/null` you can mute the general Skyscraper output. The format of the one-liner is: `Skyscraper: <cause>: <effect>`, thus it can be easily parsed by the calling program. Additionally, an exit code of 2 means some CLI parameter is wrong, an exit code of 1 is used by Skyscraper to signal other error conditions (with a `config.ini` setting or during runtime).
853
+
854
+
**Example(s)**
855
+
856
+
Try these in contrast to see the difference in output:
# Assume input folder ~/RetroPie/roms/bbcmicro does not yet exist.
869
+
# However, platform name is valid.
870
+
```bash
871
+
$ Skyscraper --stderr -p bbcmicro > /dev/null
872
+
Skyscraper: cannot access '/home/pi/RetroPie/roms/bbcmicro': No such directory
873
+
$ echo$?# returns 1 as platform is valid but the input folder does not exist
874
+
```
875
+
850
876
### --verbosity <0-3>
851
877
852
878
Sets how verbose Skyscraper should be when running. Default level is 0. The higher the value, the more info Skyscraper will output to the terminal while running. Maximum value is 3. Consider setting this in [`config.ini`](CONFIGINI.md#verbosity) instead.
Copy file name to clipboardExpand all lines: docs/CONFIGINI.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -447,7 +447,7 @@ Allowed in sections: `[main]`
447
447
This option is _only_ applicable when also setting the `frontend="attractmode"` option. It sets the _emulator_ to be used when generating the `attractmode` game list. On RetroPie the emulator name is mostly the same as the platform.
448
448
449
449
Default value: unset
450
-
Allowed in sections: `[main]`, `[<PLATFORM>]`, `[<FRONTEND>]`
450
+
Allowed in sections: `[main]`, `[<PLATFORM>]` and frontend `[attractmode]`
0 commit comments