Patch from tito to improve options parsing.
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index aea96d6..1febcef 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -1481,7 +1481,7 @@
{
unsigned int t;
-
+ printf(" (");
if (standby == 0)
printf("off");
else if (standby == 252)
@@ -2082,7 +2082,7 @@
USE_FEATURE_HDPARM_GET_IDENTITY("iI")
USE_FEATURE_HDPARM_HDIO_GETSET_DMA("d::")
#ifdef HDIO_DRIVE_CMD
- "S::D::P::X::K::A::L::W::CyYzZ"
+ "S:D:P:X:K:A:L:W:CyYzZ"
#endif
USE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF("U:")
#ifdef HDIO_GET_QDMA