git: crunchgen(1): Enhance the '-q' (quiet) option to control warnings

Aaron LI aly at crater.dragonflybsd.org
Wed Sep 2 06:47:29 PDT 2026


commit 5fd94580118809a28cf39cdec9a37281ca3a7817
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jun 23 12:41:23 2026 +0800

    crunchgen(1): Enhance the '-q' (quiet) option to control warnings
    
    Only suppress the warning messages about the component program when the
    '-q' option is specified twice.
    
    For example, now the following suppressed warning in crunching
    initrd/rescue is shown:
    ```
    crunchgen: rescue.conf: awk: warning: could not find any .o files
    ```
    
    This also reveals a real problem in the 'awk' component, and I've
    created a bug to track it:
    https://bugs.dragonflybsd.org/issues/3414

Summary of changes:
 usr.bin/crunch/crunchgen/crunchgen.1 |  3 ++-
 usr.bin/crunch/crunchgen/crunchgen.c | 14 +++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5fd94580118809a28cf39cdec9a37281ca3a7817


-- 
DragonFly BSD source repository


More information about the Commits mailing list