pop-os / popsicle

Multiple USB File Flasher
MIT License
633 stars 76 forks source link

Update rust-toolchain and cargo dependencies #193

Closed mmstick closed 1 year ago

mmstick commented 1 year ago

This contains a big update to our usage of the clap crate so the command line arguments need to be thoroughly tested.

jacobktm commented 1 year ago

popsicle-gtk looks good, but the popsicle cli is not correctly parsing arguments, panics, and does not flash images:

The application panicked (crashed). ArgAction::SetTrue / ArgAction::SetFalse is defaulted in /build/popsicle-q7paeB/popsicle-1.3.0~1664808514~22.04~a633c67/vendor/clap/src/parser/matches/arg_matches.rs, line 176 thread: main

system76@pop-os:~/Documents/Git/pop$ sudo popsicle -a /home/system76/Downloads/pop-os_22.04_amd64_intel_14.iso error: The following required arguments were not provided: <IMAGE>

Usage: popsicle --all <all> <IMAGE> [DISKS]

For more information try '--help'

mmstick commented 1 year ago

It should be fixed now. Verified with a flash drive.