diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-04-11 19:22:00 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-04-11 19:32:15 +0900 |
| commit | 2f4f21fb183a1880c0363ad65f443b4af64a5359 (patch) | |
| tree | 1e20d607f0f86dbde4960aa6c23f7b57c468f0f8 /cmd | |
| parent | 996790946092a9291eb21e297d1f0f04deab8b42 (diff) | |
fst: rename device field
Dev is very ambiguous. Rename it here alongside upcoming config changes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/fpkg/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fpkg/app.go b/cmd/fpkg/app.go index c6ed60e6..facf2dc2 100644 --- a/cmd/fpkg/app.go +++ b/cmd/fpkg/app.go @@ -29,7 +29,7 @@ type appInfo struct { // passed through to [fst.Config] Net bool `json:"net,omitempty"` // passed through to [fst.Config] - Dev bool `json:"dev,omitempty"` + Device bool `json:"dev,omitempty"` // passed through to [fst.Config] Tty bool `json:"tty,omitempty"` // passed through to [fst.Config] @@ -79,7 +79,7 @@ func (app *appInfo) toFst(pathSet *appPathSet, argv []string, flagDropShell bool Devel: app.Devel, Userns: app.Userns, Net: app.Net, - Dev: app.Dev, + Device: app.Device, Tty: app.Tty || flagDropShell, MapRealUID: app.MapRealUID, DirectWayland: app.DirectWayland, |
