Netatalk / netatalk

Netatalk is a Free and Open Source AFP fileserver. A *NIX or BSD system running Netatalk is capable of serving many Macintosh clients simultaneously as an AppleShare file server.
https://netatalk.io
GNU General Public License v2.0
354 stars 87 forks source link

Print unified version information for all AppleTalk daemons #1745

Closed rdmark closed 6 days ago

rdmark commented 1 week ago

For atalkd, papd, a2boot, macipgw, timelord: Add a -v/-V flag that prints version number and short description of the daemon. And for the daemons under contrib/ with code that originate outside of Netatalk, print also the COPYRIGHT information.

Note that -v and -V have the same effect for these daemons, with no extra verbose mode implemented. macipgw was using the latter for normal version output, while the former is common for all other daemons in Netatalk. I'm enabling both for backwards compatibility, but only documenting the former.

sonarcloud[bot] commented 6 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
15.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud