Skip to content

Commit

Permalink
-g, --gpu: no optional arg for -g #419
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Mar 2, 2022
1 parent a6557fc commit 743275b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

Project website: https://github.com/mviereck/x11docker

### Fixed
- `-g, --gpu`: Fix parsing for `-g`(no optional argument).
[(#419)](https://github.com/mviereck/x11docker/issues/419)
- `--backend=proot`: fix `--interactive`.

## [7.1.2](https://github.com/mviereck/x11docker/releases/tag/v7.1.1) - 2022-03-01
### Fixed
- `--share`: Mount Docker volumes (regression fix).
Expand Down
3 changes: 2 additions & 1 deletion x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -8228,7 +8228,8 @@ ${1:-}"

#### Influencing automatic choice of X server or Wayland compositor
-d|--desktop) Desktopmode="yes" ;; # image contains a desktop environment.
-g|--gpu) Sharegpu="${2:-yes}" ; shift ;; # GPU access
-g) Sharegpu="yes" ;; # GPU access
--gpu) Sharegpu="${2:-yes}" ; shift ;; # GPU access
-W|--wayland) Setupwayland="yes" ;; # set up wayland environment, regards --desktop
-w) Windowmanagermode="auto" ; Desktopmode="yes" ;;
--wm) case "${2:-}" in # choose window manager
Expand Down

0 comments on commit 743275b

Please sign in to comment.