Vinícius Ferrão
ec097e9d69
fix: show useful error when mkdef is called without attributes
...
When mkdef is called with an object name but no attributes (e.g.
mkdef -t node -o mynode), setFINALattrs produces an empty hash
and the OBJ loop has nothing to iterate. The code falls through to
"0 object definitions have been created or modified" with no
explanation of what went wrong.
Add a check after setFINALattrs: if FINALATTRS is empty, tell the
user what's missing. For nodes, mention that 'groups' is required.
Fixes #2765
2026-04-26 20:48:09 -03:00
..
2017-12-31 23:59:59 +00:00
2018-03-06 16:13:02 +08:00
2018-01-24 03:16:41 -05:00
2026-04-23 02:01:33 -03:00
2016-07-20 11:40:27 -04:00
2017-12-31 23:59:59 +00:00
2026-04-01 13:02:35 -03:00
2018-01-24 03:16:41 -05:00
2017-09-07 15:50:11 -04:00
2020-05-15 14:57:17 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2017-12-31 23:59:59 +00:00
2019-03-27 13:46:14 +08:00
2021-05-05 17:23:03 -04:00
2022-09-09 12:59:37 -04:00
2026-04-26 20:48:09 -03:00
2026-03-20 13:26:46 -03:00
2024-04-13 12:37:01 +05:30
2024-05-07 16:19:25 +02:00
2026-04-23 19:39:25 -03:00
2024-05-07 16:19:25 +02:00
2017-12-31 23:59:59 +00:00
2017-09-25 16:33:23 +08:00
2017-12-31 23:59:59 +00:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2018-08-17 11:23:56 +08:00
2023-01-18 11:00:59 -05:00
2017-07-21 16:19:24 +08:00
2018-10-26 15:13:56 +08:00
2018-01-23 03:20:42 -06:00
2018-03-27 17:11:25 +08:00
2024-02-21 11:59:50 +01:00
2016-07-20 11:40:27 -04:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2023-01-18 11:00:59 -05:00
2024-02-28 12:34:27 +01:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2019-10-28 14:33:54 -04:00
2017-12-31 23:59:59 +00:00
2024-08-28 02:23:21 +02:00
2021-11-09 12:00:35 -05:00
2016-10-19 17:17:40 +08:00
2024-05-07 16:19:25 +02:00
2017-12-31 23:59:59 +00:00
2024-05-07 16:19:25 +02:00
2016-07-20 11:40:27 -04:00
2025-08-23 15:30:13 +02:00
2017-12-31 23:59:59 +00:00
2021-05-05 13:53:32 -04:00
2016-07-20 11:40:27 -04:00
2026-03-27 11:14:47 -03:00
2022-11-29 11:50:18 -05:00
2017-12-31 23:59:59 +00:00
2016-07-20 11:40:27 -04:00
2021-05-07 16:39:54 -04:00
2023-01-18 11:00:59 -05:00
2020-01-07 14:00:05 -05:00
2026-04-26 04:36:07 -03:00
2017-12-31 23:59:59 +00:00
2024-05-07 16:19:25 +02:00
2020-02-02 14:40:24 -05:00
2018-09-11 09:22:08 +08:00
2018-10-09 13:49:15 +08:00
2019-11-21 11:06:26 -05:00
2018-11-09 17:03:58 +08:00
2019-01-15 17:33:59 +08:00
2016-07-20 11:40:27 -04:00
2018-08-21 15:18:12 -04:00
2017-03-21 12:01:42 -04:00
2019-10-18 12:00:26 -04:00
2017-12-31 23:59:59 +00:00
2017-12-31 23:59:59 +00:00
2024-04-13 12:36:08 +05:30
2026-02-26 13:54:56 -03:00
2026-03-27 11:14:47 -03:00
2017-12-31 23:59:59 +00:00
2022-06-28 11:46:41 -04:00
2016-07-20 11:40:27 -04:00
2017-12-31 23:59:59 +00:00
2018-08-17 11:01:55 +08:00
2016-07-20 11:40:27 -04:00
2018-08-21 14:23:56 +08:00
2020-05-06 17:03:47 -04:00
2018-04-27 11:28:08 +08:00
2022-05-11 14:14:29 -04:00
2017-12-31 23:59:59 +00:00
2016-07-20 11:40:27 -04:00
2017-12-14 05:03:34 -06:00
2018-07-06 04:46:25 -04:00
2022-08-15 10:16:22 -04:00
2018-03-09 13:39:33 +08:00
2017-12-31 23:59:59 +00:00
2017-09-25 16:33:23 +08:00
2017-12-31 23:59:59 +00:00
2018-08-21 15:18:12 -04:00
2022-01-05 11:24:26 -05:00
2017-12-31 23:59:59 +00:00
2020-07-20 08:39:28 -04:00
2017-12-31 23:59:59 +00:00
2018-08-21 15:18:12 -04:00
2017-12-31 23:59:59 +00:00
2017-12-31 23:59:59 +00:00
2018-03-01 15:20:25 +08:00
2017-12-31 23:59:59 +00:00