oxipng/scripts/manual.sh

6 lines
231 B
Bash
Executable file

#!/bin/bash
cargo build
./target/debug/oxipng -V > MANUAL.txt
#Redirect all streams to prevent detection of the terminal width and force an internal default of 100
./target/debug/oxipng --help >> MANUAL.txt 2>/dev/null </dev/null