Skip to content

Fix print_usage and man page mistakes #188

Fix print_usage and man page mistakes

Fix print_usage and man page mistakes #188

Workflow file for this run

name: Tests
on: ['push', 'pull_request']
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
compiler: [clang, gcc]
name: ${{ matrix.os }} (${{ matrix.compiler }})
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Dependencies (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt update -qq
sudo apt install -qq libcurl4-openssl-dev libzip-dev pkg-config
- name: Install Dependencies (MacOS)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew update
brew install curl libzip
- name: Compile
run: make V=1 DEBUG= CC=${{ matrix.compiler }} LD=${{ matrix.compiler }}
- name: Test printing tldr version
run: ./tldr --version
- name: Test printing tldr list
run: ./tldr --list
- name: Test printing tldr page
run: ./tldr tar