• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
            • Vl-lintconfig-p
              • Parse-vl-lintconfig
                • Parse-vl-lintconfig-long
                • Parse-vl-lintconfig-aux
                • Parse-vl-lintconfig-bundle
                • Parse-vl-lintconfig-short->long
                  • Parse-vl-lintconfig-short->long-list
                • Vl-lintconfig
                • *vl-lintconfig-usage*
                • Make-vl-lintconfig
                • Change-vl-lintconfig
                • Honsed-vl-lintconfig
                • Make-honsed-vl-lintconfig
                • Vl-lintconfig->topmods
                • Vl-lintconfig->strict
                • Vl-lintconfig->stmt-limit
                • Vl-lintconfig->start-files
                • Vl-lintconfig->shell
                • Vl-lintconfig->search-path
                • Vl-lintconfig->search-exts
                • Vl-lintconfig->readme
                • Vl-lintconfig->quiet
                • Vl-lintconfig->post-shell
                • Vl-lintconfig->plusargs
                • Vl-lintconfig->no-typo
                • Vl-lintconfig->no-sv-use-set
                • Vl-lintconfig->no-html
                • Vl-lintconfig->mem
                • Vl-lintconfig->include-dirs
                • Vl-lintconfig->ignore-files
                • Vl-lintconfig->ignore
                • Vl-lintconfig->help
                • Vl-lintconfig->global-packages
                • Vl-lintconfig->elab-limit
                • Vl-lintconfig->edition
                • Vl-lintconfig->dropmods
                • Vl-lintconfig->defines
                • Vl-lintconfig->debug
                • Vl-lintconfig->cclimit
              • Condcheck
              • Lint-warning-suppression
              • Lucid
              • Lvaluecheck
              • Vl-interfacelist-alwaysstyle
              • Truncation-warnings
              • Vl-modulelist-alwaysstyle
              • Skip-detection
              • Vl-lint-report
              • Vl-lintresult
              • Vl::vl-design-sv-use-set
              • Oddexpr-check
              • Leftright-check
              • Duplicate-detect
              • Selfassigns
              • *vl-lint-help*
              • Arith-compare-check
              • Dupeinst-check
              • Qmarksize-check
              • Lint-whole-file-suppression
              • Run-vl-lint-main
              • Logicassign
              • Run-vl-lint
              • Vl-print-certain-warnings
              • Duperhs-check
              • Vl-lint-top
              • Sd-filter-problems
              • Vl-modulelist-add-svbad-warnings
              • Vl-module-add-svbad-warnings
              • Check-case
              • Vl-lint-extra-actions
              • Drop-lint-stubs
              • Vl-lint-print-warnings
              • Drop-user-submodules
              • Check-namespace
              • Vl-lintconfig-loadconfig
              • Vl-lint-design->svex-modalist-wrapper
              • Vl-delete-sd-problems-for-modnames-aux
              • Vl-collect-new-names-from-orignames
              • Vl-lint-print-all-warnings
              • Vl-design-remove-unnecessary-modules
              • Vl-delete-sd-problems-for-modnames
              • Vl-always-check-style
              • Vl-vardecllist-svbad-warnings
              • Vl-vardecl-svbad-warnings
              • Vl-reportcard-remove-suppressed
              • Vl-reportcard-keep-suppressed
              • Vl-alwayslist-check-style
              • Vl-remove-nameless-descriptions
              • Vl-lint-apply-quiet
              • Vl-warninglist-remove-suppressed
              • Vl-warninglist-keep-suppressed
              • Vl-print-eliminated-descs
              • Vl-module-alwaysstyle
              • Vl-jp-reportcard-aux
              • Vl-interface-alwaysstyle
              • Vl-design-alwaysstyle
              • Vl-jp-description-locations
              • Vl-jp-reportcard
              • Vl-pp-stringlist-lines
              • Vl-jp-design-locations
              • Vl-datatype-svbad-p
              • Unpacked-range-check
              • Sd-problem-major-p
              • Vl-alwaysstyle
            • Vl-server
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Parse-vl-lintconfig

    Parse-vl-lintconfig-short->long

    Signature
    (parse-vl-lintconfig-short->long getopt::alias) 
      → 
    (mv getopt::errmsg? getopt::longname)
    Arguments
    getopt::alias — Guard (characterp getopt::alias).
    Returns
    getopt::longname — Type (stringp getopt::longname).

    Definitions and Theorems

    Function: parse-vl-lintconfig-short->long

    (defun parse-vl-lintconfig-short->long (getopt::alias)
      (declare (xargs :guard (characterp getopt::alias)))
      (let ((__function__ 'parse-vl-lintconfig-short->long))
        (declare (ignorable __function__))
        (b* ((getopt::look (assoc getopt::alias
                                  '((#\h . "help")
                                    (nil . "readme")
                                    (#\s . "search")
                                    (nil . "searchext")
                                    (#\I . "incdir")
                                    (nil . "topmod")
                                    (#\q . "quiet")
                                    (#\d . "drop")
                                    (#\i . "ignore")
                                    (nil . "ignore-file")
                                    (#\D . "define")
                                    (nil . "cclimit")
                                    (nil . "global-package")
                                    (nil . "elab-limit")
                                    (nil . "stmt-limit")
                                    (nil . "no-typo")
                                    (nil . "no-html")
                                    (nil . "no-sv-use-set")
                                    (nil . "edition")
                                    (nil . "strict")
                                    (#\m . "mem")
                                    (nil . "debug")
                                    (nil . "shell")
                                    (nil . "post-shell"))))
             ((when getopt::look)
              (mv nil (cdr getopt::look))))
          (mv (msg "Unrecognized option -~s0."
                   (implode (list getopt::alias)))
              ""))))

    Theorem: stringp-of-parse-vl-lintconfig-short->long.longname

    (defthm stringp-of-parse-vl-lintconfig-short->long.longname
      (b* (((mv getopt::?errmsg? getopt::?longname)
            (parse-vl-lintconfig-short->long getopt::alias)))
        (stringp getopt::longname))
      :rule-classes :type-prescription)