Fork me on GitHub

plash version


Usage

plash version

Description

Prints the version number.

Tested Behaviour

#!/bin/sh
set -eux
plash --version

Source Code


#define USAGE "usage: plash version\n"

#include <stdio.h>
#include <stdlib.h>

int version_main(int argc, char *argv[]) {
  puts("$Format:%h$");
  return EXIT_SUCCESS;
}