Your message dated Wed, 18 Feb 2026 09:52:52 +0100
with message-id <[email protected]>
and subject line fixed
has caused the Debian Bug report #985804,
regarding rust-coreutils manpages cleanup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
985804: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985804
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rust-coreutils
Version: 0.0.4-1~exp2
Thanks for rust-coreutils. Very interesting project.
A few thoughts about how to improve the documentation (manual pages in
particular):
- the manpages seem to be generated with help2man. that's cool, but i
recommend supplying the --no-info argument to avoid clauses like
this:
---
SEE ALSO
The full documentation for tac is maintained as a Texinfo manual. If
the info and tac programs are properly installed at your site, the com‐
mand
info tac
should give you access to the complete manual.
---
- naming the manpage rust-foo is a bit confusing when the contents of
the manpage refer to "foo". I'd suggest that a manual subsection
would be better (e.g. 1rust, by analogy with 1ssl from OpenSSL).
then the file could be named simply foo.1rust.gz. Then a user can
read it with "man 1rust tac" or "man 'tac(1rust)'"
- The manpage doesn't clearly identify the source as uutils (or "Rust
coreutils" or whatever), so it's hard when looking at it to see
what's going on there.
You can resolve this with help2man by invoking it this way (using tac as
an example):
help2man --source "uutils (Rust) coreutils $VERSION" \
--section 1rust \
--no-info \
--output tac.1rust \
/usr/lib/cargo/bin/coreutils/tac
Additionally:
- the formatting of the --help output isn't quite what help2man wants
to parse. In particular, I'm seeing rendered output like this:
---
NAME
tac - manual page for tac 0.0.4
DESCRIPTION
tac 0.0.4
Usage:
tac [OPTION]... [FILE]...
Write each file to standard output, last line first.
OPTIONS
---
Instead, i think you want:
---
NAME
tac - concatenate and print files in reverse
SYNOPSIS
tac [OPTION]... [FILE]...
DESCRIPTION
Write each file to standard output, last line first.
OPTIONS
---
I don't know how to solve this particular just by fiddling with
help2man, though In particular: (a) I don't know where to find the
"concatenate and print files in reverse" string (it's not in the
--help output), but if you do, you should be able to supply it as
the "--name" parameter to help2man. And (b) i'm not sure why
help2man is confused about the SYNOPSIS section -- it probably
presumes something about the output format. For tac it looks like
it can be fixed directly in src/uu/tac/src/tac.rs, because the
format-string is distinct from the text produced by GNU tac.
Hopefully these notes are useful. i considered filing them upstream,
but i noticed that there is no mention of help2man upstream, so i think
the bulk of this needs to be fixed in debian/rules.
Regards,
--dkg
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
fixed 985804 0.6.0-1
thanks
example with rust-ls:
ls(1) General Commands Manual
ls(1)
NAME
ls - List directory contents. Ignore files and directories starting
with a '.' by default
SYNOPSIS
ls [--help] [--format] [-C ] [-l|--long] [-x ] [-T|--tabsize] [-m ]
[--zero] [-D|--dired]
[--hyperlink] [-1 ] [-o ] [-g ] [-n|--numeric-uid-gid]
[--quoting-style] [-N|--literal]
[-b|--escape] [-Q|--quote-name] [-q|--hide-control-chars]
[--show-control-chars] [--time]
[-c ] [-u ] [--hide] [-I|--ignore] [-B|--ignore-backups] [--sort] [-S ]
[-t ] [-v ] [-X ]
[-U ] [-L|--dereference] [--dereference-command-line-symlink-to-dir]
[-H|--dereference-com‐
mand-line] [-G|--no-group] [--author] [-a|--all] [-A|--almost-all] [-f
] [-d|--directory]
[-h|--human-readable] [-k|--kibibytes] [--si] [--block-size]
[-i|--inode] [-r|--reverse]
[-R|--recursive] [-w|--width] [-s|--size] [--color]
[--indicator-style] [-F|--classify]
[--file-type] [-p ] [--time-style] [--full-time] [-Z|--context]
[--group-directories-first]
[-V|--version] [paths]
DESCRIPTION
List directory contents. Ignore files and directories starting with a
'.' by default
OPTIONS
--help Print help information.
--format
Set the display format.
-C Display the files in columns.
[...]
--- End Message ---