Browse Source

Bring back the (private) ALL format

Alois Mahdal 6 years ago
parent
commit
c3aca29cf8
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      src/libexec/jattool-sfind
  2. 2
    1
      src/libexec/jattool-tfind

+ 2
- 1
src/libexec/jattool-sfind View File

@@ -79,6 +79,7 @@ discover() {
79 79
                 echo //
80 80
             )
81 81
             case $Fmt in
82
+                ALL)      echo "$SuiteId	$SuiteVersion	$SuiteDir" ;;
82 83
                 id)       echo "$SuiteId"      ;;
83 84
                 path)     echo "$SuiteDir"     ;;
84 85
                 version)  echo "$SuiteVersion" ;;
@@ -97,7 +98,7 @@ main() {
97 98
     esac done
98 99
     FindDirs=("$@")
99 100
     case $Fmt in
100
-        id|path|version) : ;;
101
+        id|path|version|ALL) : ;;
101 102
         *) usage -w "unknown FMT: $Fmt" ;;
102 103
     esac
103 104
     debug -v FindDirs Fmt

+ 2
- 1
src/libexec/jattool-tfind View File

@@ -34,6 +34,7 @@ discover() {
34 34
             t_path=$s_dir/$t_rpath
35 35
             debug -v s_dir s_id t_apath t_rpath t_id t_path
36 36
             case $Fmt in
37
+                ALL)     echo "$t_id	$s_ver	$t_path" ;;
37 38
                 path)    echo "$t_path" ;;
38 39
                 id)      echo "$t_id"   ;;
39 40
                 version) echo "$s_ver"  ;;
@@ -65,7 +66,7 @@ main() {
65 66
     esac done
66 67
     FindDirs=("$@")
67 68
     case $Fmt in
68
-        id|version|path) : ;;
69
+        id|version|path|ALL) : ;;
69 70
         *) usage -w "unknown FMT: $Fmt" ;;
70 71
     esac
71 72
     debug -v FindDirs Fmt