Skip to content

info args displays $1 = /home/user/file.sh for first line of debugged script #41

@jansorg

Description

@jansorg

When I run the debugger with any script:

./bashdb -L . /home/user/test.sh
info args

then info args displays this:

$1 = /home/user/test.sh

I'm not sure, but shouldn't this display an empty list?
The filename is never passed as first argument and displaying that there's a $1 with such value is confusing to uses

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions