An open API service indexing awesome lists of open source software.

https://github.com/rasa/seterlvl

Set the errorlevel and exit
https://github.com/rasa/seterlvl

Last synced: 5 months ago
JSON representation

Set the errorlevel and exit

Awesome Lists containing this project

README

          

# seterlvl [![Flattr this][flatter_png]][flatter]

Set the errorlevel and exit.

## Usage

````
seterlvl [options] errorlevel

errorlevel can be from -4294967295 to 4294967295

Options:
-v | --version Show version and copyright information and quit
-? | --help Show this help message and quit
````

## Examples

````batch
C:\>echo %errorlevel%
0

C:\>seterlvl.exe 1

C:\>echo %errorlevel%
1

C:\>seterlvl.exe 2147483647

C:\>echo %errorlevel%
2147483647

C:\>seterlvl.exe 2147483648

C:\>echo %errorlevel%
-2147483648

C:\>seterlvl.exe 4294967295

C:\>echo %errorlevel%
-1

C:\>seterlvl.exe -1

C:\>echo %errorlevel%
-1

C:\>seterlvl.exe -4294967295

C:\>echo %errorlevel%
1

C:\>seterlvl.exe 0

C:\>echo %errorlevel%
0
````

## Verify a Release

To verify a release, download the .zip, .sha256, and .asc files for the release
(replacing seterlvl-1.3-win32.zip with the release you are verifying):

````
$ wget https://github.com/rasa/seterlvl/releases/download/v1.3/seterlvl-1.3-win32.zip{,.sha256,.asc}
````

Next, check that sha256sum reports "OK":
````
$ sha256sum -c seterlvl-1.3-win32.zip.sha256
seterlvl-1.3-win32.zip: OK
````

Lastly, check that GPG reports "Good signature":

````
$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22
$ gpg --verify seterlvl-1.3-win32.zip.asc seterlvl-1.3-win32.zip
gpg: using RSA key 0xFF914F74B4BB6EF3
gpg: Good signature from "Ross Smith II " [ultimate]
...
````

## Contributing

To contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).

## Bugs

To view existing bugs, or report a new bug, please see [issues](../../issues).

## Changelog

To view the version history for this project, please see [CHANGELOG.md](CHANGELOG.md).

## License

This project is [MIT licensed](LICENSE).

## Contact

This project was created and is maintained by [Ross Smith II][] [![endorse][endorse_png]][endorse]

Feedback, suggestions, and enhancements are welcome.

[Ross Smith II]: mailto:ross@smithii.com "ross@smithii.com"
[flatter]: https://flattr.com/submit/auto?user_id=rasa&url=https%3A%2F%2Fgithub.com%2Frasa%2Fseterlvl
[flatter_png]: http://button.flattr.com/flattr-badge-large.png "Flattr this"
[endorse]: https://coderwall.com/rasa
[endorse_png]: https://api.coderwall.com/rasa/endorsecount.png "endorse"