Re: [PATCH] rtla: Fix parsing of multi-character short options
From: John Kacur
Date: Tue Jun 02 2026 - 12:30:08 EST
On Tue, 2 Jun 2026 14:55:06 +0200, Tomas Glozar wrote:
> rtla: Fix parsing of multi-character short options
Thanks for the fix! I've tested this patch with a comprehensive test suite
covering all rtla commands (timerlat hist/top, osnoise hist/top, hwnoise)
with the four option formats:
-p 100 (short with space)
-p100 (short attached - previously broken)
--period=100 (long with equals)
--period 100 (long with space)
All 20 tests pass. The fix correctly resolves the issue where -p100 was
being parsed as multiple separate options.
Tested-by: John Kacur <jkacur@xxxxxxxxxx>