The top-level "picotool help" doesn't show that the subcommands also take arguments
まだ誰も着手していません。
評価
調査の方向性
README.md とトップレベルの picotool help 出力の実装から始め、issue に示されている picotool help partition create およびその他の subcommand の help 形式と比較してください。トップレベルの synopsis を更新して、subcommand が引数を受け取ることが分かるようにし、その結果の help 出力を partition、uf2、otp、bdev について確認してください。
索引モデルが issue の本文から書いたものです。
説明
As you can see in https://github.com/raspberrypi/picotool/blob/master/README.md when you run picotool help the output includes lines like:
picotool partition info|create
picotool uf2 convert|combine|info
picotool otp get|set|load|white-label|permissions|dump|list
picotool bdev ls|mkdir|cp|rm|cat|format
This makes it look like e.g. picotool partition create doesn't take any extra arguments, when it actually does - in the picotool help partition create output you can see a fuller synopsis:
picotool partition create [--quiet] [--verbose] <infile> <outfile> [-t <type>] [[-o
<offset>] [--family <family_id>]] [<bootloader>] [-t <type>] [[--sign
<keyfile>] [-t <type>] [--no-hash] [--singleton] [--no-btstack-flash-bank]]
[[--abs-block] [<abs_block_loc>]]
So perhaps it worth modifying the picotool help output to include e.g.
picotool partition info|create [partition-subcommand-arguments]
picotool uf2 convert|combine|info [uf2-subcommand-arguments]
picotool otp get|set|load|white-label|permissions|dump|list [otp-subcommand-arguments]
picotool bdev ls|mkdir|cp|rm|cat|format [bdev-subcommand-arguments]
? (Which will hopefully encourage people to run picotool help partition so that they can find out more about the partition-subcommand-arguments 😉 )
- 主要言語
- C++
- スター
- 1k
- フォーク
- 195
- 平均マージ
- 14日 8時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
raspberrypi/picotool のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
raspberrypi/picotool#371 · コメント 1 件 ·
-
seal: ECDSA signature r/s shorter than 32 bytes is written wrong (der_to_raw copies 32-len bytes), ~1 in 256 seals do not verify対応中かも @will-v-pi が 57 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
raspberrypi/picotool#365 · コメント 1 件 ·
-
Add 'partition' options to 'save' and 'verify' commands対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
raspberrypi/picotool#348 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
raspberrypi/picotool#330 · コメント 1 件 ·
-
Improve discoverability of family names and improve the user experience in related error messages対応中かも @will-v-pi が 197 日前に担当しました。 オープン
raspberrypi/picotool#305 · コメント 6 件 · リアクション 1 件 · 担当者 1 名 ·
raspberrypi/picotool の issue をすべて見る
似ている issue
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
QuantStack/git2cpp#203 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
BaptisteHudyma/Lamp-Da#588 ·
メンテナーはふだん 1 日以内に返信
-
bug macOS networking
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
docling-project/docling-parse#448 ·
メンテナーはふだん 5 日以内に返信