[Bug 291179] sysutils/geomman: Add support for command-line arguments and -h flag

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Nov 2025 19:10:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291179

            Bug ID: 291179
           Summary: sysutils/geomman: Add support for command-line
                    arguments and -h flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: fuz@FreeBSD.org
          Reporter: aadityavksingh@gmail.com
             Flags: maintainer-feedback?(fuz@FreeBSD.org)
          Assignee: fuz@FreeBSD.org

Created attachment 265604
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265604&action=edit
patch-geomman.c : enable CLI args for geomman

Hello,

Currently, the geomman tool immediately initializes the bsddialog interface
upon execution, ignoring any command-line arguments given. This behavior
prevents the tool from being tested via automated regression suites.

This patch modifies the main function to parse arguments using getopt(). 
It just implements a basic `-h` (help) flag that prints usage information and
exits cleanly. But it is a prerequisite for adding a regression test suite to
the port.

Best regards,
Aaditya

-- 
You are receiving this mail because:
You are the assignee for the bug.