From d80230b9d4fc25a05773badfe4d9125df0479438 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Sat, 19 Nov 2022 03:55:22 +0000 Subject: [PATCH] update itctl usage screen to current output --- README.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 665eea2..5a896f4 100644 --- a/README.md +++ b/README.md @@ -112,24 +112,25 @@ This daemon comes with a binary called `itctl` which uses the socket to control This is the `itctl` usage screen: ``` -Control the itd daemon for InfiniTime smartwatches +NAME: + itctl - A new cli application -Usage: - itctl [flags] - itctl [command] +USAGE: + itctl [global options] command [command options] [arguments...] -Available Commands: - firmware Manage InfiniTime firmware - get Get information from InfiniTime - help Help about any command - notify Send notification to InfiniTime - set Set information on InfiniTime +COMMANDS: + help Display help screen for a command + resources, res Handle InfiniTime resource loading + filesystem, fs Perform filesystem operations on the PineTime + firmware, fw Manage InfiniTime firmware + get Get information from InfiniTime + notify Send notification to InfiniTime + set Set information on InfiniTime + update, upd Update information on InfiniTime + watch Watch a value for changes -Flags: - -h, --help help for itctl - -s, --socket-path string Path to itd socket - -Use "itctl [command] --help" for more information about a command. +GLOBAL OPTIONS: + --socket-path value, -s value Path to itd socket (default: "/tmp/itd/socket") ``` ---