Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Gnome/tools/completions/   (Gnome Linux Desktop Version 4.23.2©)  Datei vom 30.5.2026 mit Größe 1 kB image not shown  

Quelle  gtk4-image-tool

  Sprache: Python
 

Spracherkennung für: vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

_gtk4_image_tool()
{
    local cur prev cmd opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"

    if [[ "$COMP_CWORD" == "1" ]] ; then
      local commands="compare convert info relabel show play"
      COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) )
      return 0
    fi

    cmd="${COMP_WORDS[1]}"

    case "${prev}" in
        --output|--)
            return 0
            ;;

        --format)
            local formats=$(gtk4-image-tool convert --format=help foo bar 2>&1 | tail --lines=+3)
            COMPREPLY=( $(compgen -W "${formats}" -- ${cur}) )
            return 0
            ;;

        --color-state)
            local colorstates=$(gtk4-image-tool convert --color-state=help foo bar 2>&1 | tail --lines=+3)
            COMPREPLY=( $(compgen -W "${colorstates}" -- ${cur}) )
            return 0
            ;;

        --cicp)
            return 0
            ;;
    esac

    case "${cmd}" in
        compare)
            opts="--help --output --quiet"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;

        convert)
            opts="--help --format --color-state --cicp"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;

        info)
            opts="--help"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;

        relabel)
            opts="--help --color-state --cicp"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;

        show)
            opts="--help --undecorated"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;

        play)
            opts="--help --undecorated --size"
            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
            return 0
            ;;
    esac
}

complete -o default -F _gtk4_image_tool gtk4-image-tool

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-07-02) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.