From 2288b178e612386e7a75471c8861c3f6d81c300d Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sat, 21 May 2022 23:44:49 -0400 Subject: Add tc remove and append -f flags Also fix some conflicting types to hopefully prevent possible overflows. --- tc.1 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'tc.1') diff --git a/tc.1 b/tc.1 index 19df3de..030eaf1 100644 --- a/tc.1 +++ b/tc.1 @@ -31,6 +31,7 @@ .Sh SYNOPSIS .Nm .Cm append +.Op Fl f Ar flags .Op Fl u Ar uuid | 0 .Ar infile .Ar @@ -46,6 +47,11 @@ .Op Fl h .Op Fl e Ar entrynum .Ar file +.Nm +.Cm remove +.Op Fl k +.Ar file +.Ar hash ... .Sh DESCRIPTION The .Nm @@ -56,6 +62,7 @@ The following commands are supported by .Bl -tag -width create .It Xo .Cm append +.Op Fl f Ar flags .Op Fl u Ar uuid | 0 .Ar infile .Ar @@ -68,6 +75,10 @@ is used to specify a custom uuid to be used. If it is .Ar 0 , the uuid will be left the same, otherwise, it will be regenerated. +If +.Fl f +is specified, any new entries with have the flags specified at +.Ar flags . .It Xo .Cm create .Op Fl u Ar uuid @@ -107,6 +118,18 @@ is given, only the header will be printed. If .Ar entrynum is specified, only that entry will be printed. +.It Xo +.Cm remove +.Op Fl k +.Ar file +.Ar hash ... +.Xc +Remove each specified hash from +.Ar file . +If +.Fl k +is specified, the uuid will not be regenerated. +The number of removed entries will be printed. .El .Sh EXIT STATUS .Ex -std -- cgit v1.2.3