#!/bin/sh [ "$1" = "info" ] && echo "show timer" && exit 2 . "$core_path/lib" usage() { cat << EOF $subcmd -- show timer usage: $subcmd [options] options: -h, --help show help actions: EOF } . "$core_path/update" echo "lap $lap, $state, $(fmt_time $remaining)"